| 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 #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 Loading... |
| 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 Loading... |
| 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 |
| OLD | NEW |