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 20 matching lines...) Expand all Loading... |
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 std::string GetCanonicalEncodingNameByAliasName( | 33 virtual std::string GetCanonicalEncodingNameByAliasName( |
34 const std::string& alias_name) OVERRIDE; | 34 const std::string& alias_name) OVERRIDE; |
35 virtual void AppendExtraCommandLineSwitches(CommandLine* command_line, | 35 virtual void AppendExtraCommandLineSwitches(CommandLine* command_line, |
36 int child_process_id) OVERRIDE; | 36 int child_process_id) OVERRIDE; |
37 virtual std::string GetApplicationLocale() OVERRIDE; | 37 virtual std::string GetApplicationLocale() OVERRIDE; |
38 virtual std::string GetAcceptLangs(const TabContents* tab) OVERRIDE; | 38 virtual std::string GetAcceptLangs(const TabContents* tab) OVERRIDE; |
39 virtual SkBitmap* GetDefaultFavicon() OVERRIDE; | 39 virtual SkBitmap* GetDefaultFavicon() OVERRIDE; |
40 virtual bool AllowAppCache(const GURL& manifest_url, | 40 virtual bool AllowAppCache(const GURL& manifest_url, |
| 41 const GURL& first_party, |
41 const content::ResourceContext& context) OVERRIDE; | 42 const content::ResourceContext& context) OVERRIDE; |
42 virtual bool AllowGetCookie(const GURL& url, | 43 virtual bool AllowGetCookie(const GURL& url, |
43 const GURL& first_party, | 44 const GURL& first_party, |
44 const net::CookieList& cookie_list, | 45 const net::CookieList& cookie_list, |
45 const content::ResourceContext& context, | 46 const content::ResourceContext& context, |
46 int render_process_id, | 47 int render_process_id, |
47 int render_view_id) OVERRIDE; | 48 int render_view_id) OVERRIDE; |
48 virtual bool AllowSetCookie(const GURL& url, | 49 virtual bool AllowSetCookie(const GURL& url, |
49 const GURL& first_party, | 50 const GURL& first_party, |
50 const std::string& cookie_line, | 51 const std::string& cookie_line, |
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
129 #if defined(USE_NSS) | 130 #if defined(USE_NSS) |
130 virtual | 131 virtual |
131 crypto::CryptoModuleBlockingPasswordDelegate* GetCryptoPasswordDelegate( | 132 crypto::CryptoModuleBlockingPasswordDelegate* GetCryptoPasswordDelegate( |
132 const GURL& url) OVERRIDE; | 133 const GURL& url) OVERRIDE; |
133 #endif | 134 #endif |
134 }; | 135 }; |
135 | 136 |
136 } // namespace chrome | 137 } // namespace chrome |
137 | 138 |
138 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ | 139 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ |
OLD | NEW |