| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| (...skipping 12 matching lines...) Expand all Loading... |
| 23 virtual void BrowserRenderProcessHostCreated( | 23 virtual void BrowserRenderProcessHostCreated( |
| 24 BrowserRenderProcessHost* host) OVERRIDE; | 24 BrowserRenderProcessHost* host) OVERRIDE; |
| 25 virtual void PluginProcessHostCreated(PluginProcessHost* host) OVERRIDE; | 25 virtual void PluginProcessHostCreated(PluginProcessHost* host) OVERRIDE; |
| 26 virtual void WorkerProcessHostCreated(WorkerProcessHost* host) OVERRIDE; | 26 virtual void WorkerProcessHostCreated(WorkerProcessHost* host) OVERRIDE; |
| 27 virtual content::WebUIFactory* GetWebUIFactory() OVERRIDE; | 27 virtual content::WebUIFactory* GetWebUIFactory() OVERRIDE; |
| 28 virtual bool ShouldUseProcessPerSite(content::BrowserContext* browser_context, | 28 virtual bool ShouldUseProcessPerSite(content::BrowserContext* browser_context, |
| 29 const GURL& effective_url) OVERRIDE; | 29 const GURL& effective_url) OVERRIDE; |
| 30 virtual GURL GetEffectiveURL(content::BrowserContext* browser_context, | 30 virtual GURL GetEffectiveURL(content::BrowserContext* browser_context, |
| 31 const GURL& url) OVERRIDE; | 31 const GURL& url) OVERRIDE; |
| 32 virtual bool IsURLSameAsAnySiteInstance(const GURL& url) OVERRIDE; | 32 virtual bool IsURLSameAsAnySiteInstance(const GURL& url) OVERRIDE; |
| 33 virtual bool ShouldRunInPrivilegedProcess(const GURL& url) OVERRIDE; |
| 34 virtual bool IsSuitableHost(RenderProcessHost* process_host, |
| 35 const GURL& url) OVERRIDE; |
| 33 virtual std::string GetCanonicalEncodingNameByAliasName( | 36 virtual std::string GetCanonicalEncodingNameByAliasName( |
| 34 const std::string& alias_name) OVERRIDE; | 37 const std::string& alias_name) OVERRIDE; |
| 35 virtual void AppendExtraCommandLineSwitches(CommandLine* command_line, | 38 virtual void AppendExtraCommandLineSwitches(CommandLine* command_line, |
| 36 int child_process_id) OVERRIDE; | 39 int child_process_id) OVERRIDE; |
| 37 virtual std::string GetApplicationLocale() OVERRIDE; | 40 virtual std::string GetApplicationLocale() OVERRIDE; |
| 38 virtual std::string GetAcceptLangs(const TabContents* tab) OVERRIDE; | 41 virtual std::string GetAcceptLangs(const TabContents* tab) OVERRIDE; |
| 39 virtual SkBitmap* GetDefaultFavicon() OVERRIDE; | 42 virtual SkBitmap* GetDefaultFavicon() OVERRIDE; |
| 40 virtual bool AllowAppCache(const GURL& manifest_url, | 43 virtual bool AllowAppCache(const GURL& manifest_url, |
| 41 const GURL& first_party, | 44 const GURL& first_party, |
| 42 const content::ResourceContext& context) OVERRIDE; | 45 const content::ResourceContext& context) OVERRIDE; |
| (...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 130 #if defined(USE_NSS) | 133 #if defined(USE_NSS) |
| 131 virtual | 134 virtual |
| 132 crypto::CryptoModuleBlockingPasswordDelegate* GetCryptoPasswordDelegate( | 135 crypto::CryptoModuleBlockingPasswordDelegate* GetCryptoPasswordDelegate( |
| 133 const GURL& url) OVERRIDE; | 136 const GURL& url) OVERRIDE; |
| 134 #endif | 137 #endif |
| 135 }; | 138 }; |
| 136 | 139 |
| 137 } // namespace chrome | 140 } // namespace chrome |
| 138 | 141 |
| 139 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ | 142 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ |
| OLD | NEW |