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 CONTENT_BROWSER_MOCK_CONTENT_BROWSER_CLIENT_H_ | 5 #ifndef CONTENT_BROWSER_MOCK_CONTENT_BROWSER_CLIENT_H_ |
6 #define CONTENT_BROWSER_MOCK_CONTENT_BROWSER_CLIENT_H_ | 6 #define CONTENT_BROWSER_MOCK_CONTENT_BROWSER_CLIENT_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <string> | 9 #include <string> |
10 | 10 |
(...skipping 22 matching lines...) Expand all Loading... |
33 const GURL& effective_url) OVERRIDE; | 33 const GURL& effective_url) OVERRIDE; |
34 virtual bool IsURLSameAsAnySiteInstance(const GURL& url) OVERRIDE; | 34 virtual bool IsURLSameAsAnySiteInstance(const GURL& url) OVERRIDE; |
35 virtual std::string GetCanonicalEncodingNameByAliasName( | 35 virtual std::string GetCanonicalEncodingNameByAliasName( |
36 const std::string& alias_name) OVERRIDE; | 36 const std::string& alias_name) OVERRIDE; |
37 virtual void AppendExtraCommandLineSwitches(CommandLine* command_line, | 37 virtual void AppendExtraCommandLineSwitches(CommandLine* command_line, |
38 int child_process_id) OVERRIDE; | 38 int child_process_id) OVERRIDE; |
39 virtual std::string GetApplicationLocale() OVERRIDE; | 39 virtual std::string GetApplicationLocale() OVERRIDE; |
40 virtual std::string GetAcceptLangs(const TabContents* tab) OVERRIDE; | 40 virtual std::string GetAcceptLangs(const TabContents* tab) OVERRIDE; |
41 virtual SkBitmap* GetDefaultFavicon() OVERRIDE; | 41 virtual SkBitmap* GetDefaultFavicon() OVERRIDE; |
42 virtual bool AllowAppCache(const GURL& manifest_url, | 42 virtual bool AllowAppCache(const GURL& manifest_url, |
| 43 const GURL& first_party, |
43 const content::ResourceContext& context) OVERRIDE; | 44 const content::ResourceContext& context) OVERRIDE; |
44 virtual bool AllowGetCookie(const GURL& url, | 45 virtual bool AllowGetCookie(const GURL& url, |
45 const GURL& first_party, | 46 const GURL& first_party, |
46 const net::CookieList& cookie_list, | 47 const net::CookieList& cookie_list, |
47 const content::ResourceContext& context, | 48 const content::ResourceContext& context, |
48 int render_process_id, | 49 int render_process_id, |
49 int render_view_id) OVERRIDE; | 50 int render_view_id) OVERRIDE; |
50 virtual bool AllowSetCookie(const GURL& url, | 51 virtual bool AllowSetCookie(const GURL& url, |
51 const GURL& first_party, | 52 const GURL& first_party, |
52 const std::string& cookie_line, | 53 const std::string& cookie_line, |
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
132 #if defined(USE_NSS) | 133 #if defined(USE_NSS) |
133 virtual | 134 virtual |
134 crypto::CryptoModuleBlockingPasswordDelegate* GetCryptoPasswordDelegate( | 135 crypto::CryptoModuleBlockingPasswordDelegate* GetCryptoPasswordDelegate( |
135 const GURL& url) OVERRIDE; | 136 const GURL& url) OVERRIDE; |
136 #endif | 137 #endif |
137 }; | 138 }; |
138 | 139 |
139 } // namespace content | 140 } // namespace content |
140 | 141 |
141 #endif // CONTENT_BROWSER_MOCK_CONTENT_BROWSER_CLIENT_H_ | 142 #endif // CONTENT_BROWSER_MOCK_CONTENT_BROWSER_CLIENT_H_ |
OLD | NEW |