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

Unified Diff: ash/shell/content/client/shell_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: ash/shell/content/client/shell_content_browser_client.cc
diff --git a/ash/shell/content/client/shell_content_browser_client.cc b/ash/shell/content/client/shell_content_browser_client.cc
index 1329a654c085fe1e2e58d92506c12fc542c6e88b..60da70666966b9330102da77e219b8249a79aaf4 100644
--- a/ash/shell/content/client/shell_content_browser_client.cc
+++ b/ash/shell/content/client/shell_content_browser_client.cc
@@ -8,7 +8,6 @@
#include "ash/shell/content/client/shell_browser_main_parts.h"
#include "base/command_line.h"
-#include "content/shell/browser/shell_browser_context.h"
#include "third_party/skia/include/core/SkBitmap.h"
namespace ash {
@@ -25,19 +24,5 @@ content::BrowserMainParts* ShellContentBrowserClient::CreateBrowserMainParts(
return shell_browser_main_parts_;
}
-net::URLRequestContextGetter* ShellContentBrowserClient::CreateRequestContext(
- content::BrowserContext* content_browser_context,
- content::ProtocolHandlerMap* protocol_handlers,
- content::URLRequestInterceptorScopedVector request_interceptors) {
- content::ShellBrowserContext* shell_context =
- static_cast<content::ShellBrowserContext*>(content_browser_context);
- return shell_context->CreateRequestContext(protocol_handlers,
- std::move(request_interceptors));
-}
-
-content::ShellBrowserContext* ShellContentBrowserClient::browser_context() {
- return shell_browser_main_parts_->browser_context();
-}
-
} // namespace examples
} // namespace views

Powered by Google App Engine
This is Rietveld 408576698