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 24 matching lines...) Expand all Loading... |
35 virtual bool IsURLSameAsAnySiteInstance(const GURL& url) OVERRIDE; | 35 virtual bool IsURLSameAsAnySiteInstance(const GURL& url) OVERRIDE; |
36 virtual bool IsSuitableHost(RenderProcessHost* process_host, | 36 virtual bool IsSuitableHost(RenderProcessHost* process_host, |
37 const GURL& url) OVERRIDE; | 37 const GURL& url) OVERRIDE; |
38 virtual bool ShouldSwapProcessesForNavigation(const GURL& current_url, | 38 virtual bool ShouldSwapProcessesForNavigation(const GURL& current_url, |
39 const GURL& new_url) OVERRIDE; | 39 const GURL& new_url) OVERRIDE; |
40 virtual std::string GetCanonicalEncodingNameByAliasName( | 40 virtual std::string GetCanonicalEncodingNameByAliasName( |
41 const std::string& alias_name) OVERRIDE; | 41 const std::string& alias_name) OVERRIDE; |
42 virtual void AppendExtraCommandLineSwitches(CommandLine* command_line, | 42 virtual void AppendExtraCommandLineSwitches(CommandLine* command_line, |
43 int child_process_id) OVERRIDE; | 43 int child_process_id) OVERRIDE; |
44 virtual std::string GetApplicationLocale() OVERRIDE; | 44 virtual std::string GetApplicationLocale() OVERRIDE; |
45 virtual std::string GetAcceptLangs(const TabContents* tab) OVERRIDE; | 45 virtual std::string GetAcceptLangs( |
| 46 const content::BrowserContext* context) OVERRIDE; |
46 virtual SkBitmap* GetDefaultFavicon() OVERRIDE; | 47 virtual SkBitmap* GetDefaultFavicon() OVERRIDE; |
47 virtual bool AllowAppCache(const GURL& manifest_url, | 48 virtual bool AllowAppCache(const GURL& manifest_url, |
48 const GURL& first_party, | 49 const GURL& first_party, |
49 const content::ResourceContext& context) OVERRIDE; | 50 const content::ResourceContext& context) OVERRIDE; |
50 virtual bool AllowGetCookie(const GURL& url, | 51 virtual bool AllowGetCookie(const GURL& url, |
51 const GURL& first_party, | 52 const GURL& first_party, |
52 const net::CookieList& cookie_list, | 53 const net::CookieList& cookie_list, |
53 const content::ResourceContext& context, | 54 const content::ResourceContext& context, |
54 int render_process_id, | 55 int render_process_id, |
55 int render_view_id) OVERRIDE; | 56 int render_view_id) OVERRIDE; |
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
135 #if defined(USE_NSS) | 136 #if defined(USE_NSS) |
136 virtual | 137 virtual |
137 crypto::CryptoModuleBlockingPasswordDelegate* GetCryptoPasswordDelegate( | 138 crypto::CryptoModuleBlockingPasswordDelegate* GetCryptoPasswordDelegate( |
138 const GURL& url) OVERRIDE; | 139 const GURL& url) OVERRIDE; |
139 #endif | 140 #endif |
140 }; | 141 }; |
141 | 142 |
142 } // namespace chrome | 143 } // namespace chrome |
143 | 144 |
144 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ | 145 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ |
OLD | NEW |