| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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/file_path.h" | 9 #include "base/file_path.h" |
| 10 #include "base/logging.h" | 10 #include "base/logging.h" |
| (...skipping 254 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 265 | 265 |
| 266 AccessTokenStore* MockContentBrowserClient::CreateAccessTokenStore() { | 266 AccessTokenStore* MockContentBrowserClient::CreateAccessTokenStore() { |
| 267 return NULL; | 267 return NULL; |
| 268 } | 268 } |
| 269 | 269 |
| 270 bool MockContentBrowserClient::IsFastShutdownPossible() { | 270 bool MockContentBrowserClient::IsFastShutdownPossible() { |
| 271 return true; | 271 return true; |
| 272 } | 272 } |
| 273 | 273 |
| 274 void MockContentBrowserClient::OverrideWebkitPrefs(RenderViewHost* rvh, | 274 void MockContentBrowserClient::OverrideWebkitPrefs(RenderViewHost* rvh, |
| 275 const GURL& url, |
| 275 WebPreferences* prefs) { | 276 WebPreferences* prefs) { |
| 276 } | 277 } |
| 277 | 278 |
| 278 void MockContentBrowserClient::UpdateInspectorSetting( | 279 void MockContentBrowserClient::UpdateInspectorSetting( |
| 279 RenderViewHost* rvh, const std::string& key, const std::string& value) { | 280 RenderViewHost* rvh, const std::string& key, const std::string& value) { |
| 280 } | 281 } |
| 281 | 282 |
| 282 void MockContentBrowserClient::ClearInspectorSettings(RenderViewHost* rvh) { | 283 void MockContentBrowserClient::ClearInspectorSettings(RenderViewHost* rvh) { |
| 283 } | 284 } |
| 284 | 285 |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 322 #endif | 323 #endif |
| 323 | 324 |
| 324 #if defined(USE_NSS) | 325 #if defined(USE_NSS) |
| 325 crypto::CryptoModuleBlockingPasswordDelegate* | 326 crypto::CryptoModuleBlockingPasswordDelegate* |
| 326 MockContentBrowserClient::GetCryptoPasswordDelegate(const GURL& url) { | 327 MockContentBrowserClient::GetCryptoPasswordDelegate(const GURL& url) { |
| 327 return NULL; | 328 return NULL; |
| 328 } | 329 } |
| 329 #endif | 330 #endif |
| 330 | 331 |
| 331 } // namespace content | 332 } // namespace content |
| OLD | NEW |