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