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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
43 int render_view_id) OVERRIDE; | 43 int render_view_id) OVERRIDE; |
44 virtual bool AllowSetCookie(const GURL& url, | 44 virtual bool AllowSetCookie(const GURL& url, |
45 const GURL& first_party, | 45 const GURL& first_party, |
46 const std::string& cookie_line, | 46 const std::string& cookie_line, |
47 const content::ResourceContext& context, | 47 const content::ResourceContext& context, |
48 int render_process_id, | 48 int render_process_id, |
49 int render_view_id, | 49 int render_view_id, |
50 net::CookieOptions* options) OVERRIDE; | 50 net::CookieOptions* options) OVERRIDE; |
51 virtual bool AllowSaveLocalState( | 51 virtual bool AllowSaveLocalState( |
52 const content::ResourceContext& context) OVERRIDE; | 52 const content::ResourceContext& context) OVERRIDE; |
| 53 virtual content::PluginFilter* CreatePluginFilter( |
| 54 int render_process_id, |
| 55 int render_view_id, |
| 56 const content::ResourceContext& context, |
| 57 const GURL& url, |
| 58 const GURL& policy_url) OVERRIDE; |
53 virtual net::URLRequestContext* OverrideRequestContextForURL( | 59 virtual net::URLRequestContext* OverrideRequestContextForURL( |
54 const GURL& url, const content::ResourceContext& context) OVERRIDE; | 60 const GURL& url, const content::ResourceContext& context) OVERRIDE; |
55 virtual QuotaPermissionContext* CreateQuotaPermissionContext() OVERRIDE; | 61 virtual QuotaPermissionContext* CreateQuotaPermissionContext() OVERRIDE; |
56 virtual void RevealFolderInOS(const FilePath& path) OVERRIDE; | 62 virtual void RevealFolderInOS(const FilePath& path) OVERRIDE; |
57 virtual void AllowCertificateError( | 63 virtual void AllowCertificateError( |
58 SSLCertErrorHandler* handler, | 64 SSLCertErrorHandler* handler, |
59 bool overridable, | 65 bool overridable, |
60 Callback2<SSLCertErrorHandler*, bool>::Type* callback) OVERRIDE; | 66 Callback2<SSLCertErrorHandler*, bool>::Type* callback) OVERRIDE; |
61 virtual void ShowClientCertificateRequestDialog( | 67 virtual void ShowClientCertificateRequestDialog( |
62 int render_process_id, | 68 int render_process_id, |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
115 #if defined(USE_NSS) | 121 #if defined(USE_NSS) |
116 virtual | 122 virtual |
117 crypto::CryptoModuleBlockingPasswordDelegate* GetCryptoPasswordDelegate( | 123 crypto::CryptoModuleBlockingPasswordDelegate* GetCryptoPasswordDelegate( |
118 const GURL& url) OVERRIDE; | 124 const GURL& url) OVERRIDE; |
119 #endif | 125 #endif |
120 }; | 126 }; |
121 | 127 |
122 } // namespace content | 128 } // namespace content |
123 | 129 |
124 #endif // CONTENT_BROWSER_MOCK_CONTENT_BROWSER_CLIENT_H_ | 130 #endif // CONTENT_BROWSER_MOCK_CONTENT_BROWSER_CLIENT_H_ |
OLD | NEW |