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

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

Issue 8403024: Set extension-related webkit preferences in a common location. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: remove is_web_ui param Created 9 years, 1 month 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 #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 "base/logging.h" 9 #include "base/logging.h"
10 #include "base/file_path.h" 10 #include "base/file_path.h"
(...skipping 229 matching lines...) Expand 10 before | Expand all | Expand 10 after
240 } 240 }
241 241
242 AccessTokenStore* MockContentBrowserClient::CreateAccessTokenStore() { 242 AccessTokenStore* MockContentBrowserClient::CreateAccessTokenStore() {
243 return NULL; 243 return NULL;
244 } 244 }
245 245
246 bool MockContentBrowserClient::IsFastShutdownPossible() { 246 bool MockContentBrowserClient::IsFastShutdownPossible() {
247 return true; 247 return true;
248 } 248 }
249 249
250 WebPreferences MockContentBrowserClient::GetWebkitPrefs( 250 WebPreferences MockContentBrowserClient::GetWebkitPrefs(RenderViewHost* rvh) {
251 content::BrowserContext* browser_context,
252 bool is_web_ui) {
253 return WebPreferences(); 251 return WebPreferences();
254 } 252 }
255 253
256 void MockContentBrowserClient::UpdateInspectorSetting( 254 void MockContentBrowserClient::UpdateInspectorSetting(
257 RenderViewHost* rvh, const std::string& key, const std::string& value) { 255 RenderViewHost* rvh, const std::string& key, const std::string& value) {
258 } 256 }
259 257
260 void MockContentBrowserClient::ClearInspectorSettings(RenderViewHost* rvh) { 258 void MockContentBrowserClient::ClearInspectorSettings(RenderViewHost* rvh) {
261 } 259 }
262 260
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
296 #endif 294 #endif
297 295
298 #if defined(USE_NSS) 296 #if defined(USE_NSS)
299 crypto::CryptoModuleBlockingPasswordDelegate* 297 crypto::CryptoModuleBlockingPasswordDelegate*
300 MockContentBrowserClient::GetCryptoPasswordDelegate(const GURL& url) { 298 MockContentBrowserClient::GetCryptoPasswordDelegate(const GURL& url) {
301 return NULL; 299 return NULL;
302 } 300 }
303 #endif 301 #endif
304 302
305 } // namespace content 303 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/mock_content_browser_client.h ('k') | content/browser/tab_contents/tab_contents.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698