Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2135)

Unified Diff: android_webview/browser/aw_content_browser_client.cc

Issue 1862203005: Remove ContentBrowserClient::CreateRequestContext & CreateRequestContextForStoragePartition. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 5ce8414f6117504a7aa6b023f9c0d81455bacf8c..c69540770e04963821bd3943bfa1b997fdad74b3 100644
--- a/android_webview/browser/aw_content_browser_client.cc
+++ b/android_webview/browser/aw_content_browser_client.cc
@@ -232,30 +232,6 @@ void AwContentBrowserClient::RenderProcessWillLaunch(
host->AddFilter(new AwPrintingMessageFilter(host->GetID()));
}
-net::URLRequestContextGetter* AwContentBrowserClient::CreateRequestContext(
- content::BrowserContext* browser_context,
- content::ProtocolHandlerMap* protocol_handlers,
- content::URLRequestInterceptorScopedVector request_interceptors) {
- DCHECK_EQ(browser_context_.get(), browser_context);
- return browser_context_->CreateRequestContext(
- protocol_handlers, std::move(request_interceptors));
-}
-
-net::URLRequestContextGetter*
-AwContentBrowserClient::CreateRequestContextForStoragePartition(
- content::BrowserContext* browser_context,
- const base::FilePath& partition_path,
- bool in_memory,
- content::ProtocolHandlerMap* protocol_handlers,
- content::URLRequestInterceptorScopedVector request_interceptors) {
- DCHECK_EQ(browser_context_.get(), browser_context);
- // 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,
- std::move(request_interceptors));
-}
-
bool AwContentBrowserClient::IsHandledURL(const GURL& url) {
if (!url.is_valid()) {
// We handle error cases.

Powered by Google App Engine
This is Rietveld 408576698