| 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 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 72 content::WebContents* embedder_web_contents, | 72 content::WebContents* embedder_web_contents, |
| 73 const base::DictionaryValue& extra_params) OVERRIDE; | 73 const base::DictionaryValue& extra_params) OVERRIDE; |
| 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 void GetWebUIHostsToIgnoreParititionCheck( |
| 83 std::vector<std::string>* hosts) OVERRIDE; |
| 82 virtual net::URLRequestContextGetter* CreateRequestContext( | 84 virtual net::URLRequestContextGetter* CreateRequestContext( |
| 83 content::BrowserContext* browser_context, | 85 content::BrowserContext* browser_context, |
| 84 content::ProtocolHandlerMap* protocol_handlers) OVERRIDE; | 86 content::ProtocolHandlerMap* protocol_handlers) OVERRIDE; |
| 85 virtual net::URLRequestContextGetter* CreateRequestContextForStoragePartition( | 87 virtual net::URLRequestContextGetter* CreateRequestContextForStoragePartition( |
| 86 content::BrowserContext* browser_context, | 88 content::BrowserContext* browser_context, |
| 87 const base::FilePath& partition_path, | 89 const base::FilePath& partition_path, |
| 88 bool in_memory, | 90 bool in_memory, |
| 89 content::ProtocolHandlerMap* protocol_handlers) OVERRIDE; | 91 content::ProtocolHandlerMap* protocol_handlers) 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, |
| (...skipping 202 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 |