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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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( | 50 virtual bool AllowSaveLocalState( |
51 const content::ResourceContext& context) OVERRIDE; | 51 const content::ResourceContext& context) OVERRIDE; |
| 52 virtual bool EnforceSessionOnlyStorage( |
| 53 const GURL& url, |
| 54 const GURL& first_party, |
| 55 const content::ResourceContext& context) OVERRIDE; |
52 virtual net::URLRequestContext* OverrideRequestContextForURL( | 56 virtual net::URLRequestContext* OverrideRequestContextForURL( |
53 const GURL& url, const content::ResourceContext& context) OVERRIDE; | 57 const GURL& url, const content::ResourceContext& context) OVERRIDE; |
54 virtual QuotaPermissionContext* CreateQuotaPermissionContext() OVERRIDE; | 58 virtual QuotaPermissionContext* CreateQuotaPermissionContext() OVERRIDE; |
55 virtual void RevealFolderInOS(const FilePath& path) OVERRIDE; | 59 virtual void RevealFolderInOS(const FilePath& path) OVERRIDE; |
56 virtual void AllowCertificateError( | 60 virtual void AllowCertificateError( |
57 SSLCertErrorHandler* handler, | 61 SSLCertErrorHandler* handler, |
58 bool overridable, | 62 bool overridable, |
59 Callback2<SSLCertErrorHandler*, bool>::Type* callback) OVERRIDE; | 63 Callback2<SSLCertErrorHandler*, bool>::Type* callback) OVERRIDE; |
60 virtual void ShowClientCertificateRequestDialog( | 64 virtual void ShowClientCertificateRequestDialog( |
61 int render_process_id, | 65 int render_process_id, |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
115 #if defined(USE_NSS) | 119 #if defined(USE_NSS) |
116 virtual | 120 virtual |
117 crypto::CryptoModuleBlockingPasswordDelegate* GetCryptoPasswordDelegate( | 121 crypto::CryptoModuleBlockingPasswordDelegate* GetCryptoPasswordDelegate( |
118 const GURL& url) OVERRIDE; | 122 const GURL& url) OVERRIDE; |
119 #endif | 123 #endif |
120 }; | 124 }; |
121 | 125 |
122 } // namespace content | 126 } // namespace content |
123 | 127 |
124 #endif // CONTENT_BROWSER_MOCK_CONTENT_BROWSER_CLIENT_H_ | 128 #endif // CONTENT_BROWSER_MOCK_CONTENT_BROWSER_CLIENT_H_ |
OLD | NEW |