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 "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
10 #include "content/browser/content_browser_client.h" | 10 #include "content/browser/content_browser_client.h" |
(...skipping 14 matching lines...) Expand all Loading... |
25 const GURL& url) OVERRIDE; | 25 const GURL& url) OVERRIDE; |
26 virtual bool IsURLSameAsAnySiteInstance(const GURL& url) OVERRIDE; | 26 virtual bool IsURLSameAsAnySiteInstance(const GURL& url) OVERRIDE; |
27 virtual std::string GetCanonicalEncodingNameByAliasName( | 27 virtual std::string GetCanonicalEncodingNameByAliasName( |
28 const std::string& alias_name) OVERRIDE; | 28 const std::string& alias_name) OVERRIDE; |
29 virtual void AppendExtraCommandLineSwitches(CommandLine* command_line, | 29 virtual void AppendExtraCommandLineSwitches(CommandLine* command_line, |
30 int child_process_id) OVERRIDE; | 30 int child_process_id) OVERRIDE; |
31 virtual std::string GetApplicationLocale() OVERRIDE; | 31 virtual std::string GetApplicationLocale() OVERRIDE; |
32 virtual std::string GetAcceptLangs(const TabContents* tab) OVERRIDE; | 32 virtual std::string GetAcceptLangs(const TabContents* tab) OVERRIDE; |
33 virtual SkBitmap* GetDefaultFavicon() OVERRIDE; | 33 virtual SkBitmap* GetDefaultFavicon() OVERRIDE; |
34 virtual bool AllowAppCache(const GURL& manifest_url, | 34 virtual bool AllowAppCache(const GURL& manifest_url, |
| 35 const GURL& first_party, |
35 const content::ResourceContext& context) OVERRIDE; | 36 const content::ResourceContext& context) OVERRIDE; |
36 virtual bool AllowGetCookie(const GURL& url, | 37 virtual bool AllowGetCookie(const GURL& url, |
37 const GURL& first_party, | 38 const GURL& first_party, |
38 const net::CookieList& cookie_list, | 39 const net::CookieList& cookie_list, |
39 const content::ResourceContext& context, | 40 const content::ResourceContext& context, |
40 int render_process_id, | 41 int render_process_id, |
41 int render_view_id) OVERRIDE; | 42 int render_view_id) OVERRIDE; |
42 virtual bool AllowSetCookie(const GURL& url, | 43 virtual bool AllowSetCookie(const GURL& url, |
43 const GURL& first_party, | 44 const GURL& first_party, |
44 const std::string& cookie_line, | 45 const std::string& cookie_line, |
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
115 #if defined(USE_NSS) | 116 #if defined(USE_NSS) |
116 virtual | 117 virtual |
117 crypto::CryptoModuleBlockingPasswordDelegate* GetCryptoPasswordDelegate( | 118 crypto::CryptoModuleBlockingPasswordDelegate* GetCryptoPasswordDelegate( |
118 const GURL& url) OVERRIDE; | 119 const GURL& url) OVERRIDE; |
119 #endif | 120 #endif |
120 }; | 121 }; |
121 | 122 |
122 } // namespace chrome | 123 } // namespace chrome |
123 | 124 |
124 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ | 125 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ |
OLD | NEW |