Index: content/shell/shell_content_browser_client.h |
diff --git a/content/shell/shell_content_browser_client.h b/content/shell/shell_content_browser_client.h |
index 91d821e41925a978cf87234c27625870ebb72e35..10933a92b29f1c5d2da22b928956c7b5f3083244 100644 |
--- a/content/shell/shell_content_browser_client.h |
+++ b/content/shell/shell_content_browser_client.h |
@@ -27,6 +27,32 @@ class ShellContentBrowserClient : public ContentBrowserClient { |
virtual BrowserMainParts* CreateBrowserMainParts( |
const MainFunctionParams& parameters) OVERRIDE; |
virtual void RenderProcessHostCreated(RenderProcessHost* host) OVERRIDE; |
+ virtual net::URLRequestContextGetter* CreateRequestContext( |
+ BrowserContext* browser_context, |
+ scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> |
+ blob_protocol_handler, |
+ scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> |
+ file_system_protocol_handler, |
+ scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> |
+ developer_protocol_handler, |
+ scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> |
+ chrome_protocol_handler, |
+ scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> |
+ chrome_devtools_protocol_handler) OVERRIDE; |
+ virtual net::URLRequestContextGetter* CreateRequestContextForStoragePartition( |
+ BrowserContext* browser_context, |
+ const FilePath& partition_path, |
+ bool in_memory, |
+ scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> |
+ blob_protocol_handler, |
+ scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> |
+ file_system_protocol_handler, |
+ scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> |
+ developer_protocol_handler, |
+ scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> |
+ chrome_protocol_handler, |
+ scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> |
+ chrome_devtools_protocol_handler) OVERRIDE; |
virtual void AppendExtraCommandLineSwitches(CommandLine* command_line, |
int child_process_id) OVERRIDE; |
virtual void OverrideWebkitPrefs(RenderViewHost* render_view_host, |
@@ -62,6 +88,9 @@ class ShellContentBrowserClient : public ContentBrowserClient { |
} |
private: |
+ ShellBrowserContext* ShellBrowserContextForBrowserContext( |
+ BrowserContext* content_browser_context); |
+ |
scoped_ptr<ShellResourceDispatcherHostDelegate> |
resource_dispatcher_host_delegate_; |