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 a130d89f1a3e42d00d45370bd5316e113f33c0c0..ffcd406a5ac241ea4c1ee3b4d10cb518a270f1a1 100644 |
--- a/content/shell/shell_content_browser_client.h |
+++ b/content/shell/shell_content_browser_client.h |
@@ -27,6 +27,24 @@ 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::Interceptor> |
+ developer_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::Interceptor> |
+ developer_protocol_handler) OVERRIDE; |
virtual void AppendExtraCommandLineSwitches(CommandLine* command_line, |
int child_process_id) OVERRIDE; |
virtual void OverrideWebkitPrefs(RenderViewHost* render_view_host, |
@@ -62,6 +80,9 @@ class ShellContentBrowserClient : public ContentBrowserClient { |
} |
private: |
+ ShellBrowserContext* ShellBrowserContextForBrowserContext( |
+ BrowserContext* content_browser_context); |
+ |
scoped_ptr<ShellResourceDispatcherHostDelegate> |
resource_dispatcher_host_delegate_; |