| Index: content/public/browser/content_browser_client.h
|
| diff --git a/content/public/browser/content_browser_client.h b/content/public/browser/content_browser_client.h
|
| index 22531b8b5df5f7b10adde3e2ca411ea9e4439d4c..874ee80ef50f480f78bea323f9a3d13da79f8850 100644
|
| --- a/content/public/browser/content_browser_client.h
|
| +++ b/content/public/browser/content_browser_client.h
|
| @@ -274,6 +274,13 @@ class CONTENT_EXPORT ContentBrowserClient {
|
| const GURL& first_party,
|
| ResourceContext* context);
|
|
|
| + // Allow the embedder to control if a Service Worker can be associated
|
| + // with the given scope.
|
| + // This is called on the IO thread.
|
| + virtual bool AllowServiceWorker(const GURL& scope,
|
| + const GURL& document_url,
|
| + content::ResourceContext* context);
|
| +
|
| // Allow the embedder to control if the given cookie can be read.
|
| // This is called on the IO thread.
|
| virtual bool AllowGetCookie(const GURL& url,
|
|
|