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 "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 29 matching lines...) Expand all Loading... |
40 const content::ResourceContext& context, | 40 const content::ResourceContext& context, |
41 int render_process_id, | 41 int render_process_id, |
42 int render_view_id) OVERRIDE; | 42 int render_view_id) OVERRIDE; |
43 virtual bool AllowSetCookie(const GURL& url, | 43 virtual bool AllowSetCookie(const GURL& url, |
44 const GURL& first_party, | 44 const GURL& first_party, |
45 const std::string& cookie_line, | 45 const std::string& cookie_line, |
46 const content::ResourceContext& context, | 46 const content::ResourceContext& context, |
47 int render_process_id, | 47 int render_process_id, |
48 int render_view_id, | 48 int render_view_id, |
49 net::CookieOptions* options) OVERRIDE; | 49 net::CookieOptions* options) OVERRIDE; |
| 50 virtual bool AllowSaveLocalState( |
| 51 const content::ResourceContext& context) OVERRIDE; |
50 virtual QuotaPermissionContext* CreateQuotaPermissionContext() OVERRIDE; | 52 virtual QuotaPermissionContext* CreateQuotaPermissionContext() OVERRIDE; |
51 virtual void RevealFolderInOS(const FilePath& path) OVERRIDE; | 53 virtual void RevealFolderInOS(const FilePath& path) OVERRIDE; |
52 virtual void AllowCertificateError( | 54 virtual void AllowCertificateError( |
53 SSLCertErrorHandler* handler, | 55 SSLCertErrorHandler* handler, |
54 bool overridable, | 56 bool overridable, |
55 Callback2<SSLCertErrorHandler*, bool>::Type* callback) OVERRIDE; | 57 Callback2<SSLCertErrorHandler*, bool>::Type* callback) OVERRIDE; |
56 virtual void ShowClientCertificateRequestDialog( | 58 virtual void ShowClientCertificateRequestDialog( |
57 int render_process_id, | 59 int render_process_id, |
58 int render_view_id, | 60 int render_view_id, |
59 SSLClientAuthHandler* handler) OVERRIDE; | 61 SSLClientAuthHandler* handler) OVERRIDE; |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
96 #if defined(USE_NSS) | 98 #if defined(USE_NSS) |
97 virtual | 99 virtual |
98 crypto::CryptoModuleBlockingPasswordDelegate* GetCryptoPasswordDelegate( | 100 crypto::CryptoModuleBlockingPasswordDelegate* GetCryptoPasswordDelegate( |
99 const GURL& url) OVERRIDE; | 101 const GURL& url) OVERRIDE; |
100 #endif | 102 #endif |
101 }; | 103 }; |
102 | 104 |
103 } // namespace content | 105 } // namespace content |
104 | 106 |
105 #endif // CONTENT_BROWSER_MOCK_CONTENT_BROWSER_CLIENT_H_ | 107 #endif // CONTENT_BROWSER_MOCK_CONTENT_BROWSER_CLIENT_H_ |
OLD | NEW |