summaryrefslogtreecommitdiffstats
path: root/WebKit/chromium/public/WebSharedWorker.h
diff options
context:
space:
mode:
Diffstat (limited to 'WebKit/chromium/public/WebSharedWorker.h')
-rw-r--r--WebKit/chromium/public/WebSharedWorker.h13
1 files changed, 12 insertions, 1 deletions
diff --git a/WebKit/chromium/public/WebSharedWorker.h b/WebKit/chromium/public/WebSharedWorker.h
index 4ac7639..01c8391 100644
--- a/WebKit/chromium/public/WebSharedWorker.h
+++ b/WebKit/chromium/public/WebSharedWorker.h
@@ -60,7 +60,18 @@ public:
virtual void startWorkerContext(const WebURL& scriptURL,
const WebString& name,
const WebString& userAgent,
- const WebString& sourceCode) = 0;
+ const WebString& sourceCode,
+ long long scriptResourceAppCacheID) = 0;
+
+ // FIXME(michaeln): Remove this after the roll and adjusting to it.
+ virtual void startWorkerContext(const WebURL& scriptURL,
+ const WebString& name,
+ const WebString& userAgent,
+ const WebString& sourceCode)
+ {
+ startWorkerContext(scriptURL, name, userAgent, sourceCode, 0);
+ }
+
class ConnectListener {
public:
// Invoked once the connect event has been sent so the caller can free this object.