| Index: content/renderer/websharedworker_proxy.h
|
| ===================================================================
|
| --- content/renderer/websharedworker_proxy.h (revision 116764)
|
| +++ content/renderer/websharedworker_proxy.h (working copy)
|
| @@ -37,11 +37,23 @@
|
| virtual bool isStarted();
|
| virtual void connect(WebKit::WebMessagePortChannel* channel,
|
| ConnectListener* listener);
|
| +
|
| + // API is evolving from first form to the second form.
|
| virtual void startWorkerContext(const WebKit::WebURL& script_url,
|
| const WebKit::WebString& name,
|
| const WebKit::WebString& user_agent,
|
| const WebKit::WebString& source_code,
|
| long long script_resource_appcache_id);
|
| +
|
| + virtual void startWorkerContext(
|
| + const WebKit::WebURL& script_url,
|
| + const WebKit::WebString& name,
|
| + const WebKit::WebString& user_agent,
|
| + const WebKit::WebString& source_code,
|
| + const WebKit::WebString& content_security_policy,
|
| + bool report_only,
|
| + long long script_resource_appcache_id);
|
| +
|
| virtual void terminateWorkerContext();
|
| virtual void clientDestroyed();
|
|
|
| @@ -70,6 +82,8 @@
|
| const string16& name,
|
| const string16& user_agent,
|
| const string16& source_code,
|
| + const string16& content_security_policy,
|
| + bool report_only,
|
| int pending_route_id,
|
| int64 script_resource_appcache_id);
|
| void OnWorkerCreated();
|
|
|