Index: chrome/browser/chrome_content_browser_client.cc |
diff --git a/chrome/browser/chrome_content_browser_client.cc b/chrome/browser/chrome_content_browser_client.cc |
index 3c3826684793ee8d3d35e29240cef5349f227870..1c5c639a13a5aad06312f702dbafa18f6a4d1efa 100644 |
--- a/chrome/browser/chrome_content_browser_client.cc |
+++ b/chrome/browser/chrome_content_browser_client.cc |
@@ -1073,12 +1073,13 @@ void ChromeContentBrowserClient::GetAdditionalWebUISchemes( |
additional_schemes->push_back(chrome::kDomDistillerScheme); |
} |
-net::URLRequestContextGetter* |
-ChromeContentBrowserClient::CreateRequestContext( |
+net::URLRequestContextGetter* ChromeContentBrowserClient::CreateRequestContext( |
content::BrowserContext* browser_context, |
- content::ProtocolHandlerMap* protocol_handlers) { |
+ content::ProtocolHandlerMap* protocol_handlers, |
+ content::ProtocolHandlerScopedVector protocol_interceptors) { |
Profile* profile = Profile::FromBrowserContext(browser_context); |
- return profile->CreateRequestContext(protocol_handlers); |
+ return profile->CreateRequestContext(protocol_handlers, |
+ protocol_interceptors.Pass()); |
} |
net::URLRequestContextGetter* |
@@ -1086,10 +1087,14 @@ ChromeContentBrowserClient::CreateRequestContextForStoragePartition( |
content::BrowserContext* browser_context, |
const base::FilePath& partition_path, |
bool in_memory, |
- content::ProtocolHandlerMap* protocol_handlers) { |
+ content::ProtocolHandlerMap* protocol_handlers, |
+ content::ProtocolHandlerScopedVector protocol_interceptors) { |
Profile* profile = Profile::FromBrowserContext(browser_context); |
return profile->CreateRequestContextForStoragePartition( |
- partition_path, in_memory, protocol_handlers); |
+ partition_path, |
+ in_memory, |
+ protocol_handlers, |
+ protocol_interceptors.Pass()); |
} |
bool ChromeContentBrowserClient::IsHandledURL(const GURL& url) { |