| 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 227 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 238 } | 238 } |
| 239 | 239 |
| 240 std::string MockContentBrowserClient::GetWorkerProcessTitle( | 240 std::string MockContentBrowserClient::GetWorkerProcessTitle( |
| 241 const GURL& url, content::ResourceContext* context) { | 241 const GURL& url, content::ResourceContext* context) { |
| 242 return std::string(); | 242 return std::string(); |
| 243 } | 243 } |
| 244 | 244 |
| 245 void MockContentBrowserClient::ResourceDispatcherHostCreated() { | 245 void MockContentBrowserClient::ResourceDispatcherHostCreated() { |
| 246 } | 246 } |
| 247 | 247 |
| 248 SpeechInputManagerDelegate* | 248 SpeechRecognitionManagerDelegate* |
| 249 MockContentBrowserClient::GetSpeechInputManagerDelegate() { | 249 MockContentBrowserClient::GetSpeechRecognitionManagerDelegate() { |
| 250 return NULL; | 250 return NULL; |
| 251 } | 251 } |
| 252 | 252 |
| 253 ui::Clipboard* MockContentBrowserClient::GetClipboard() { | 253 ui::Clipboard* MockContentBrowserClient::GetClipboard() { |
| 254 static ui::Clipboard clipboard; | 254 static ui::Clipboard clipboard; |
| 255 return &clipboard; | 255 return &clipboard; |
| 256 } | 256 } |
| 257 | 257 |
| 258 MHTMLGenerationManager* MockContentBrowserClient::GetMHTMLGenerationManager() { | 258 MHTMLGenerationManager* MockContentBrowserClient::GetMHTMLGenerationManager() { |
| 259 return NULL; | 259 return NULL; |
| (...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 322 #endif | 322 #endif |
| 323 | 323 |
| 324 #if defined(USE_NSS) | 324 #if defined(USE_NSS) |
| 325 crypto::CryptoModuleBlockingPasswordDelegate* | 325 crypto::CryptoModuleBlockingPasswordDelegate* |
| 326 MockContentBrowserClient::GetCryptoPasswordDelegate(const GURL& url) { | 326 MockContentBrowserClient::GetCryptoPasswordDelegate(const GURL& url) { |
| 327 return NULL; | 327 return NULL; |
| 328 } | 328 } |
| 329 #endif | 329 #endif |
| 330 | 330 |
| 331 } // namespace content | 331 } // namespace content |
| OLD | NEW |