OLD | NEW |
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 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
74 virtual void RenderProcessWillLaunch( | 74 virtual void RenderProcessWillLaunch( |
75 content::RenderProcessHost* host) OVERRIDE; | 75 content::RenderProcessHost* host) OVERRIDE; |
76 virtual bool ShouldUseProcessPerSite(content::BrowserContext* browser_context, | 76 virtual bool ShouldUseProcessPerSite(content::BrowserContext* browser_context, |
77 const GURL& effective_url) OVERRIDE; | 77 const GURL& effective_url) OVERRIDE; |
78 virtual GURL GetEffectiveURL(content::BrowserContext* browser_context, | 78 virtual GURL GetEffectiveURL(content::BrowserContext* browser_context, |
79 const GURL& url) OVERRIDE; | 79 const GURL& url) OVERRIDE; |
80 virtual void GetAdditionalWebUISchemes( | 80 virtual void GetAdditionalWebUISchemes( |
81 std::vector<std::string>* additional_schemes) OVERRIDE; | 81 std::vector<std::string>* additional_schemes) OVERRIDE; |
82 virtual net::URLRequestContextGetter* CreateRequestContext( | 82 virtual net::URLRequestContextGetter* CreateRequestContext( |
83 content::BrowserContext* browser_context, | 83 content::BrowserContext* browser_context, |
84 content::ProtocolHandlerMap* protocol_handlers) OVERRIDE; | 84 content::ProtocolHandlerMap* protocol_handlers, |
| 85 content::ProtocolHandlerScopedVector protocol_interceptors) OVERRIDE; |
85 virtual net::URLRequestContextGetter* CreateRequestContextForStoragePartition( | 86 virtual net::URLRequestContextGetter* CreateRequestContextForStoragePartition( |
86 content::BrowserContext* browser_context, | 87 content::BrowserContext* browser_context, |
87 const base::FilePath& partition_path, | 88 const base::FilePath& partition_path, |
88 bool in_memory, | 89 bool in_memory, |
89 content::ProtocolHandlerMap* protocol_handlers) OVERRIDE; | 90 content::ProtocolHandlerMap* protocol_handlers, |
| 91 content::ProtocolHandlerScopedVector protocol_interceptors) OVERRIDE; |
90 virtual bool IsHandledURL(const GURL& url) OVERRIDE; | 92 virtual bool IsHandledURL(const GURL& url) OVERRIDE; |
91 virtual bool CanCommitURL(content::RenderProcessHost* process_host, | 93 virtual bool CanCommitURL(content::RenderProcessHost* process_host, |
92 const GURL& url) OVERRIDE; | 94 const GURL& url) OVERRIDE; |
93 virtual bool ShouldAllowOpenURL(content::SiteInstance* site_instance, | 95 virtual bool ShouldAllowOpenURL(content::SiteInstance* site_instance, |
94 const GURL& url) OVERRIDE; | 96 const GURL& url) OVERRIDE; |
95 virtual bool IsSuitableHost(content::RenderProcessHost* process_host, | 97 virtual bool IsSuitableHost(content::RenderProcessHost* process_host, |
96 const GURL& site_url) OVERRIDE; | 98 const GURL& site_url) OVERRIDE; |
97 virtual bool ShouldTryToUseExistingProcessHost( | 99 virtual bool ShouldTryToUseExistingProcessHost( |
98 content::BrowserContext* browser_context, const GURL& url) OVERRIDE; | 100 content::BrowserContext* browser_context, const GURL& url) OVERRIDE; |
99 virtual void SiteInstanceGotProcess( | 101 virtual void SiteInstanceGotProcess( |
(...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
294 permissions_policy_delegate_; | 296 permissions_policy_delegate_; |
295 | 297 |
296 friend class DisableWebRtcEncryptionFlagTest; | 298 friend class DisableWebRtcEncryptionFlagTest; |
297 | 299 |
298 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); | 300 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); |
299 }; | 301 }; |
300 | 302 |
301 } // namespace chrome | 303 } // namespace chrome |
302 | 304 |
303 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ | 305 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ |
OLD | NEW |