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