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

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

Issue 7230052: Make kClearSiteDataOnExit work correctly for Flash in multi-profile. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 5 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
« no previous file with comments | « content/browser/mock_content_browser_client.h ('k') | content/browser/plugin_process_host.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #include "content/browser/mock_content_browser_client.h" 5 #include "content/browser/mock_content_browser_client.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "content/browser/webui/empty_web_ui_factory.h" 9 #include "content/browser/webui/empty_web_ui_factory.h"
10 #include "googleurl/src/gurl.h" 10 #include "googleurl/src/gurl.h"
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 const GURL& url, 87 const GURL& url,
88 const GURL& first_party, 88 const GURL& first_party,
89 const std::string& cookie_line, 89 const std::string& cookie_line,
90 const content::ResourceContext& context, 90 const content::ResourceContext& context,
91 int render_process_id, 91 int render_process_id,
92 int render_view_id, 92 int render_view_id,
93 net::CookieOptions* options) { 93 net::CookieOptions* options) {
94 return true; 94 return true;
95 } 95 }
96 96
97 bool MockContentBrowserClient::AllowSaveLocalState(
98 const content::ResourceContext& context) {
99 return true;
100 }
101
97 QuotaPermissionContext* 102 QuotaPermissionContext*
98 MockContentBrowserClient::CreateQuotaPermissionContext() { 103 MockContentBrowserClient::CreateQuotaPermissionContext() {
99 return NULL; 104 return NULL;
100 } 105 }
101 106
102 void MockContentBrowserClient::RevealFolderInOS(const FilePath& path) { 107 void MockContentBrowserClient::RevealFolderInOS(const FilePath& path) {
103 } 108 }
104 109
105 void MockContentBrowserClient::AllowCertificateError( 110 void MockContentBrowserClient::AllowCertificateError(
106 SSLCertErrorHandler* handler, 111 SSLCertErrorHandler* handler,
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
177 #endif 182 #endif
178 183
179 #if defined(USE_NSS) 184 #if defined(USE_NSS)
180 crypto::CryptoModuleBlockingPasswordDelegate* 185 crypto::CryptoModuleBlockingPasswordDelegate*
181 MockContentBrowserClient::GetCryptoPasswordDelegate(const GURL& url) { 186 MockContentBrowserClient::GetCryptoPasswordDelegate(const GURL& url) {
182 return NULL; 187 return NULL;
183 } 188 }
184 #endif 189 #endif
185 190
186 } // namespace content 191 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/mock_content_browser_client.h ('k') | content/browser/plugin_process_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698