Upstream version 5.34.104.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / public / web / WebSharedWorkerConnector.h
index 429ad66..0371737 100644 (file)
@@ -45,23 +45,11 @@ class WebSharedWorkerConnector {
 public:
     virtual ~WebSharedWorkerConnector() { }
 
-    // Returns false if the thread hasn't been started yet (script loading has not taken place).
-    // FIXME(atwilson): Remove this when we move the initial script loading into the worker process.
-    virtual bool isStarted() = 0;
-
-    virtual void startWorkerContext(
-        const WebURL& scriptURL,
-        const WebString& name,
-        const WebString& userAgent,
-        const WebString& sourceCode,
-        const WebString& contentSecurityPolicy,
-        WebContentSecurityPolicyType,
-        long long scriptResourceAppCacheID) = 0;
-
     class ConnectListener {
     public:
         // Invoked once the connect event has been sent so the caller can free this object.
         virtual void connected() = 0;
+        virtual void scriptLoadFailed() = 0;
     };
 
     // Sends a connect event to the SharedWorker context. The listener is invoked when this async operation completes.