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

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

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, 6 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 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 const GURL& effective_url) OVERRIDE; 86 const GURL& effective_url) OVERRIDE;
87 virtual GURL GetEffectiveURL(content::BrowserContext* browser_context, 87 virtual GURL GetEffectiveURL(content::BrowserContext* browser_context,
88 const GURL& url) OVERRIDE; 88 const GURL& url) OVERRIDE;
89 virtual void GetAdditionalWebUISchemes( 89 virtual void GetAdditionalWebUISchemes(
90 std::vector<std::string>* additional_schemes) OVERRIDE; 90 std::vector<std::string>* additional_schemes) OVERRIDE;
91 virtual void GetAdditionalWebUIHostsToIgnoreParititionCheck( 91 virtual void GetAdditionalWebUIHostsToIgnoreParititionCheck(
92 std::vector<std::string>* hosts) OVERRIDE; 92 std::vector<std::string>* hosts) OVERRIDE;
93 virtual net::URLRequestContextGetter* CreateRequestContext( 93 virtual net::URLRequestContextGetter* CreateRequestContext(
94 content::BrowserContext* browser_context, 94 content::BrowserContext* browser_context,
95 content::ProtocolHandlerMap* protocol_handlers, 95 content::ProtocolHandlerMap* protocol_handlers,
96 content::ProtocolHandlerScopedVector protocol_interceptors) OVERRIDE; 96 content::URLRequestInterceptorScopedVector request_interceptors) OVERRIDE;
97 virtual net::URLRequestContextGetter* CreateRequestContextForStoragePartition( 97 virtual net::URLRequestContextGetter* CreateRequestContextForStoragePartition(
98 content::BrowserContext* browser_context, 98 content::BrowserContext* browser_context,
99 const base::FilePath& partition_path, 99 const base::FilePath& partition_path,
100 bool in_memory, 100 bool in_memory,
101 content::ProtocolHandlerMap* protocol_handlers, 101 content::ProtocolHandlerMap* protocol_handlers,
102 content::ProtocolHandlerScopedVector protocol_interceptors) OVERRIDE; 102 content::URLRequestInterceptorScopedVector request_interceptors) OVERRIDE;
103 virtual bool IsHandledURL(const GURL& url) OVERRIDE; 103 virtual bool IsHandledURL(const GURL& url) OVERRIDE;
104 virtual bool CanCommitURL(content::RenderProcessHost* process_host, 104 virtual bool CanCommitURL(content::RenderProcessHost* process_host,
105 const GURL& url) OVERRIDE; 105 const GURL& url) OVERRIDE;
106 virtual bool ShouldAllowOpenURL(content::SiteInstance* site_instance, 106 virtual bool ShouldAllowOpenURL(content::SiteInstance* site_instance,
107 const GURL& url) OVERRIDE; 107 const GURL& url) OVERRIDE;
108 virtual bool IsSuitableHost(content::RenderProcessHost* process_host, 108 virtual bool IsSuitableHost(content::RenderProcessHost* process_host,
109 const GURL& site_url) OVERRIDE; 109 const GURL& site_url) OVERRIDE;
110 virtual bool MayReuseHost(content::RenderProcessHost* process_host) OVERRIDE; 110 virtual bool MayReuseHost(content::RenderProcessHost* process_host) OVERRIDE;
111 virtual bool ShouldTryToUseExistingProcessHost( 111 virtual bool ShouldTryToUseExistingProcessHost(
112 content::BrowserContext* browser_context, const GURL& url) OVERRIDE; 112 content::BrowserContext* browser_context, const GURL& url) OVERRIDE;
(...skipping 202 matching lines...) Expand 10 before | Expand all | Expand 10 after
315 prerender::PrerenderTracker* prerender_tracker_; 315 prerender::PrerenderTracker* prerender_tracker_;
316 316
317 friend class DisableWebRtcEncryptionFlagTest; 317 friend class DisableWebRtcEncryptionFlagTest;
318 318
319 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); 319 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient);
320 }; 320 };
321 321
322 } // namespace chrome 322 } // namespace chrome
323 323
324 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ 324 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_
OLDNEW
« no previous file with comments | « ash/shell/content_client/shell_content_browser_client.cc ('k') | chrome/browser/chrome_content_browser_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698