| 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 266 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 277 } | 277 } |
| 278 | 278 |
| 279 AccessTokenStore* MockContentBrowserClient::CreateAccessTokenStore() { | 279 AccessTokenStore* MockContentBrowserClient::CreateAccessTokenStore() { |
| 280 return NULL; | 280 return NULL; |
| 281 } | 281 } |
| 282 | 282 |
| 283 bool MockContentBrowserClient::IsFastShutdownPossible() { | 283 bool MockContentBrowserClient::IsFastShutdownPossible() { |
| 284 return true; | 284 return true; |
| 285 } | 285 } |
| 286 | 286 |
| 287 void MockContentBrowserClient::OverrideWebkitPrefs(RenderViewHost* rvh, | 287 void MockContentBrowserClient::OverrideWebkitPrefs( |
| 288 const GURL& url, | 288 RenderViewHost* rvh, |
| 289 WebPreferences* prefs) { | 289 const GURL& url, |
| 290 webkit_glue::WebPreferences* prefs) { |
| 290 } | 291 } |
| 291 | 292 |
| 292 void MockContentBrowserClient::UpdateInspectorSetting( | 293 void MockContentBrowserClient::UpdateInspectorSetting( |
| 293 RenderViewHost* rvh, const std::string& key, const std::string& value) { | 294 RenderViewHost* rvh, const std::string& key, const std::string& value) { |
| 294 } | 295 } |
| 295 | 296 |
| 296 void MockContentBrowserClient::ClearInspectorSettings(RenderViewHost* rvh) { | 297 void MockContentBrowserClient::ClearInspectorSettings(RenderViewHost* rvh) { |
| 297 } | 298 } |
| 298 | 299 |
| 299 void MockContentBrowserClient::BrowserURLHandlerCreated( | 300 void MockContentBrowserClient::BrowserURLHandlerCreated( |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 337 #endif | 338 #endif |
| 338 | 339 |
| 339 #if defined(USE_NSS) | 340 #if defined(USE_NSS) |
| 340 crypto::CryptoModuleBlockingPasswordDelegate* | 341 crypto::CryptoModuleBlockingPasswordDelegate* |
| 341 MockContentBrowserClient::GetCryptoPasswordDelegate(const GURL& url) { | 342 MockContentBrowserClient::GetCryptoPasswordDelegate(const GURL& url) { |
| 342 return NULL; | 343 return NULL; |
| 343 } | 344 } |
| 344 #endif | 345 #endif |
| 345 | 346 |
| 346 } // namespace content | 347 } // namespace content |
| OLD | NEW |