| Index: public/web/WebSharedWorkerRepositoryClient.h
|
| diff --git a/public/web/WebSharedWorkerRepositoryClient.h b/public/web/WebSharedWorkerRepositoryClient.h
|
| index c7a4054d14f0c322d40e4a31903aefbc931769c8..396acd8cfbaf551f09ae324f8f4467df76ebad79 100644
|
| --- a/public/web/WebSharedWorkerRepositoryClient.h
|
| +++ b/public/web/WebSharedWorkerRepositoryClient.h
|
| @@ -35,6 +35,7 @@
|
|
|
| namespace blink {
|
|
|
| +enum WebContentSecurityPolicyType;
|
| class WebString;
|
| class WebURL;
|
|
|
| @@ -44,7 +45,12 @@ public:
|
| typedef unsigned long long DocumentID;
|
|
|
| // Creates a new shared worker connector. This may return null.
|
| + // FIXME(horo): Remove createSharedWorkerConnector of 3 arguments.
|
| virtual WebSharedWorkerConnector* createSharedWorkerConnector(const WebURL& url, const WebString& name, DocumentID id) { return 0; }
|
| + virtual WebSharedWorkerConnector* createSharedWorkerConnector(const WebURL& url, const WebString& name, DocumentID id, const WebString& contentSecurityPolicy, WebContentSecurityPolicyType)
|
| + {
|
| + return createSharedWorkerConnector(url, name, id);
|
| + }
|
|
|
| // Invoked when a document has been detached. DocumentID can be re-used after documentDetached() is invoked.
|
| virtual void documentDetached(DocumentID) { }
|
|
|