| 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 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 61 void GetStoragePartitionConfigForSite( | 61 void GetStoragePartitionConfigForSite( |
| 62 content::BrowserContext* browser_context, | 62 content::BrowserContext* browser_context, |
| 63 const GURL& site, | 63 const GURL& site, |
| 64 bool can_be_default, | 64 bool can_be_default, |
| 65 std::string* partition_domain, | 65 std::string* partition_domain, |
| 66 std::string* partition_name, | 66 std::string* partition_name, |
| 67 bool* in_memory) override; | 67 bool* in_memory) override; |
| 68 content::WebContentsViewDelegate* GetWebContentsViewDelegate( | 68 content::WebContentsViewDelegate* GetWebContentsViewDelegate( |
| 69 content::WebContents* web_contents) override; | 69 content::WebContents* web_contents) override; |
| 70 void RenderProcessWillLaunch(content::RenderProcessHost* host) override; | 70 void RenderProcessWillLaunch(content::RenderProcessHost* host) override; |
| 71 GURL GetEffectiveURL(content::BrowserContext* browser_context, |
| 72 const GURL& url) override; |
| 71 bool ShouldUseProcessPerSite(content::BrowserContext* browser_context, | 73 bool ShouldUseProcessPerSite(content::BrowserContext* browser_context, |
| 72 const GURL& effective_url) override; | 74 const GURL& effective_url) override; |
| 75 bool DoesSiteRequireDedicatedProcess(content::BrowserContext* browser_context, |
| 76 const GURL& effective_url) override; |
| 73 bool ShouldLockToOrigin(content::BrowserContext* browser_context, | 77 bool ShouldLockToOrigin(content::BrowserContext* browser_context, |
| 74 const GURL& effective_site_url) override; | 78 const GURL& effective_site_url) override; |
| 75 GURL GetEffectiveURL(content::BrowserContext* browser_context, | |
| 76 const GURL& url) override; | |
| 77 void GetAdditionalWebUISchemes( | 79 void GetAdditionalWebUISchemes( |
| 78 std::vector<std::string>* additional_schemes) override; | 80 std::vector<std::string>* additional_schemes) override; |
| 79 void GetAdditionalWebUIHostsToIgnoreParititionCheck( | 81 void GetAdditionalWebUIHostsToIgnoreParititionCheck( |
| 80 std::vector<std::string>* hosts) override; | 82 std::vector<std::string>* hosts) override; |
| 81 bool LogWebUIUrl(const GURL& web_ui_url) const override; | 83 bool LogWebUIUrl(const GURL& web_ui_url) const override; |
| 82 net::URLRequestContextGetter* CreateRequestContext( | 84 net::URLRequestContextGetter* CreateRequestContext( |
| 83 content::BrowserContext* browser_context, | 85 content::BrowserContext* browser_context, |
| 84 content::ProtocolHandlerMap* protocol_handlers, | 86 content::ProtocolHandlerMap* protocol_handlers, |
| 85 content::URLRequestInterceptorScopedVector request_interceptors) override; | 87 content::URLRequestInterceptorScopedVector request_interceptors) override; |
| 86 net::URLRequestContextGetter* CreateRequestContextForStoragePartition( | 88 net::URLRequestContextGetter* CreateRequestContextForStoragePartition( |
| (...skipping 246 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 333 // Vector of additional ChromeContentBrowserClientParts. | 335 // Vector of additional ChromeContentBrowserClientParts. |
| 334 // Parts are deleted in the reverse order they are added. | 336 // Parts are deleted in the reverse order they are added. |
| 335 std::vector<ChromeContentBrowserClientParts*> extra_parts_; | 337 std::vector<ChromeContentBrowserClientParts*> extra_parts_; |
| 336 | 338 |
| 337 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; | 339 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; |
| 338 | 340 |
| 339 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); | 341 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); |
| 340 }; | 342 }; |
| 341 | 343 |
| 342 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ | 344 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ |
| OLD | NEW |