Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(147)

Side by Side Diff: content/browser/mock_content_browser_client.h

Issue 7387010: Add PluginServiceFilter interface. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: add resource_context Created 9 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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 PluginService::Filter* 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 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 #if defined(USE_NSS) 133 #if defined(USE_NSS)
128 virtual 134 virtual
129 crypto::CryptoModuleBlockingPasswordDelegate* GetCryptoPasswordDelegate( 135 crypto::CryptoModuleBlockingPasswordDelegate* GetCryptoPasswordDelegate(
130 const GURL& url) OVERRIDE; 136 const GURL& url) OVERRIDE;
131 #endif 137 #endif
132 }; 138 };
133 139
134 } // namespace content 140 } // namespace content
135 141
136 #endif // CONTENT_BROWSER_MOCK_CONTENT_BROWSER_CLIENT_H_ 142 #endif // CONTENT_BROWSER_MOCK_CONTENT_BROWSER_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698