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

Unified Diff: apps/shell/browser/shell_content_browser_client.cc

Issue 282103004: Rename ProtocolInterceptJobFactory and make it not use ProtocolHandlers. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Response to jam's comments (And a merge) Created 6 years, 7 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: apps/shell/browser/shell_content_browser_client.cc
diff --git a/apps/shell/browser/shell_content_browser_client.cc b/apps/shell/browser/shell_content_browser_client.cc
index b0e9f7a0d63b04d53b17d76c98330ad37d6d1884..5dfc3171e54e858df396bcb04f7be2603b82cf6b 100644
--- a/apps/shell/browser/shell_content_browser_client.cc
+++ b/apps/shell/browser/shell_content_browser_client.cc
@@ -79,7 +79,7 @@ bool ShellContentBrowserClient::ShouldUseProcessPerSite(
net::URLRequestContextGetter* ShellContentBrowserClient::CreateRequestContext(
content::BrowserContext* content_browser_context,
content::ProtocolHandlerMap* protocol_handlers,
- content::ProtocolHandlerScopedVector protocol_interceptors) {
+ content::URLRequestInterceptorScopedVector request_interceptors) {
// Handle only chrome-extension:// requests. app_shell does not support
// chrome-extension-resource:// requests (it does not store shared extension
// data in its installation directory).
@@ -91,7 +91,7 @@ net::URLRequestContextGetter* ShellContentBrowserClient::CreateRequestContext(
extension_info_map));
// Let content::ShellBrowserContext handle the rest of the setup.
return browser_main_parts_->browser_context()->CreateRequestContext(
- protocol_handlers, protocol_interceptors.Pass());
+ protocol_handlers, request_interceptors.Pass());
}
bool ShellContentBrowserClient::IsHandledURL(const GURL& url) {
« no previous file with comments | « apps/shell/browser/shell_content_browser_client.h ('k') | ash/shell/content_client/shell_content_browser_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698