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

Side by Side Diff: chrome/browser/chrome_content_browser_client.h

Issue 12386009: Remove the chrome:// protocol interceptor since it's not used anymore now that the chrome job facto… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 years, 9 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ 5 #ifndef CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_
6 #define CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ 6 #define CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_
7 7
8 #include <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 #include <utility> 10 #include <utility>
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 const GURL& effective_url) OVERRIDE; 64 const GURL& effective_url) OVERRIDE;
65 virtual GURL GetEffectiveURL(content::BrowserContext* browser_context, 65 virtual GURL GetEffectiveURL(content::BrowserContext* browser_context,
66 const GURL& url) OVERRIDE; 66 const GURL& url) OVERRIDE;
67 virtual net::URLRequestContextGetter* CreateRequestContext( 67 virtual net::URLRequestContextGetter* CreateRequestContext(
68 content::BrowserContext* browser_context, 68 content::BrowserContext* browser_context,
69 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> 69 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler>
70 blob_protocol_handler, 70 blob_protocol_handler,
71 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> 71 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler>
72 file_system_protocol_handler, 72 file_system_protocol_handler,
73 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> 73 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler>
74 developer_protocol_handler,
75 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler>
76 chrome_protocol_handler, 74 chrome_protocol_handler,
77 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> 75 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler>
78 chrome_devtools_protocol_handler) OVERRIDE; 76 chrome_devtools_protocol_handler) OVERRIDE;
79 virtual net::URLRequestContextGetter* CreateRequestContextForStoragePartition( 77 virtual net::URLRequestContextGetter* CreateRequestContextForStoragePartition(
80 content::BrowserContext* browser_context, 78 content::BrowserContext* browser_context,
81 const base::FilePath& partition_path, 79 const base::FilePath& partition_path,
82 bool in_memory, 80 bool in_memory,
83 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> 81 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler>
84 blob_protocol_handler, 82 blob_protocol_handler,
85 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> 83 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler>
86 file_system_protocol_handler, 84 file_system_protocol_handler,
87 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> 85 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler>
88 developer_protocol_handler,
89 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler>
90 chrome_protocol_handler, 86 chrome_protocol_handler,
91 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> 87 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler>
92 chrome_devtools_protocol_handler) OVERRIDE; 88 chrome_devtools_protocol_handler) OVERRIDE;
93 virtual bool IsHandledURL(const GURL& url) OVERRIDE; 89 virtual bool IsHandledURL(const GURL& url) OVERRIDE;
94 virtual bool IsSuitableHost(content::RenderProcessHost* process_host, 90 virtual bool IsSuitableHost(content::RenderProcessHost* process_host,
95 const GURL& url) OVERRIDE; 91 const GURL& url) OVERRIDE;
96 virtual bool ShouldTryToUseExistingProcessHost( 92 virtual bool ShouldTryToUseExistingProcessHost(
97 content::BrowserContext* browser_context, const GURL& url) OVERRIDE; 93 content::BrowserContext* browser_context, const GURL& url) OVERRIDE;
98 virtual void SiteInstanceGotProcess( 94 virtual void SiteInstanceGotProcess(
99 content::SiteInstance* site_instance) OVERRIDE; 95 content::SiteInstance* site_instance) OVERRIDE;
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after
265 // Cached version of the locale so we can return the locale on the I/O 261 // Cached version of the locale so we can return the locale on the I/O
266 // thread. 262 // thread.
267 std::string io_thread_application_locale_; 263 std::string io_thread_application_locale_;
268 264
269 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); 265 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient);
270 }; 266 };
271 267
272 } // namespace chrome 268 } // namespace chrome
273 269
274 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ 270 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_
OLDNEW
« no previous file with comments | « android_webview/browser/net/aw_url_request_context_getter.cc ('k') | chrome/browser/chrome_content_browser_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698