| 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 9945812df10649fed123d5c092593cf33ed507ab..c4f9f1d08499b41ae33fc4fb295983f5daa3675e 100644
|
| --- a/content/public/browser/content_browser_client.h
|
| +++ b/content/public/browser/content_browser_client.h
|
| @@ -207,6 +207,15 @@ class ContentBrowserClient {
|
| content::ResourceContext* context,
|
| const std::vector<std::pair<int, int> >& render_views) = 0;
|
|
|
| + // Allow the embedder to control if access to IndexedDB by a shared worker
|
| + // is allowed.
|
| + // This is called on the IO thread.
|
| + virtual bool AllowWorkerIndexedDB(
|
| + const GURL& url,
|
| + const string16& name,
|
| + content::ResourceContext* context,
|
| + const std::vector<std::pair<int, int> >& render_views) = 0;
|
| +
|
| // Allows the embedder to override the request context based on the URL for
|
| // certain operations, like cookie access. Returns NULL to indicate the
|
| // regular request context should be used.
|
|
|