Index: android_webview/browser/aw_content_browser_client.cc |
diff --git a/android_webview/browser/aw_content_browser_client.cc b/android_webview/browser/aw_content_browser_client.cc |
index 62aff355d1f423f2da77c444b2dd1632dcad6a32..4d64ea6f9ced936482435ced2141ebff292bfa26 100644 |
--- a/android_webview/browser/aw_content_browser_client.cc |
+++ b/android_webview/browser/aw_content_browser_client.cc |
@@ -214,9 +214,8 @@ net::URLRequestContextGetter* AwContentBrowserClient::CreateRequestContext( |
content::ProtocolHandlerMap* protocol_handlers, |
content::URLRequestInterceptorScopedVector request_interceptors) { |
DCHECK(browser_context_.get() == browser_context); |
- // TODO(mkosiba,kinuko): request_interceptors should be hooked up in the |
- // downstream. (crbug.com/350286) |
- return browser_context_->CreateRequestContext(protocol_handlers); |
+ return browser_context_->CreateRequestContext(protocol_handlers, |
+ request_interceptors.Pass()); |
} |
net::URLRequestContextGetter* |
@@ -230,7 +229,8 @@ AwContentBrowserClient::CreateRequestContextForStoragePartition( |
// TODO(mkosiba,kinuko): request_interceptors should be hooked up in the |
// downstream. (crbug.com/350286) |
return browser_context_->CreateRequestContextForStoragePartition( |
- partition_path, in_memory, protocol_handlers); |
+ partition_path, in_memory, protocol_handlers, |
+ request_interceptors.Pass()); |
} |
std::string AwContentBrowserClient::GetCanonicalEncodingNameByAliasName( |