Index: android_webview/browser/aw_content_browser_client.h |
diff --git a/android_webview/browser/aw_content_browser_client.h b/android_webview/browser/aw_content_browser_client.h |
index 2f5dee04ff648af79f709fcef8ef7bcfd70a2c7f..59a1c9edf680e1e9fd2dd38c6c74b65ef0558f9d 100644 |
--- a/android_webview/browser/aw_content_browser_client.h |
+++ b/android_webview/browser/aw_content_browser_client.h |
@@ -5,10 +5,12 @@ |
#ifndef ANDROID_WEBVIEW_LIB_AW_CONTENT_BROWSER_CLIENT_H_ |
#define ANDROID_WEBVIEW_LIB_AW_CONTENT_BROWSER_CLIENT_H_ |
-#include "content/public/browser/content_browser_client.h" |
- |
#include "android_webview/browser/aw_browser_context.h" |
+#include "base/basictypes.h" |
#include "base/compiler_specific.h" |
+#include "base/memory/scoped_ptr.h" |
+#include "content/public/browser/content_browser_client.h" |
+#include "net/url_request/url_request_job_factory.h" |
namespace android_webview { |
@@ -37,6 +39,32 @@ class AwContentBrowserClient : public content::ContentBrowserClient { |
content::WebContents* web_contents) OVERRIDE; |
virtual void RenderProcessHostCreated( |
content::RenderProcessHost* host) OVERRIDE; |
+ virtual net::URLRequestContextGetter* CreateRequestContext( |
+ content::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( |
+ content::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 std::string GetCanonicalEncodingNameByAliasName( |
const std::string& alias_name) OVERRIDE; |
virtual void AppendExtraCommandLineSwitches(CommandLine* command_line, |