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 233 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
244 } | 244 } |
245 | 245 |
246 std::string MockContentBrowserClient::GetWorkerProcessTitle( | 246 std::string MockContentBrowserClient::GetWorkerProcessTitle( |
247 const GURL& url, ResourceContext* context) { | 247 const GURL& url, ResourceContext* context) { |
248 return std::string(); | 248 return std::string(); |
249 } | 249 } |
250 | 250 |
251 void MockContentBrowserClient::ResourceDispatcherHostCreated() { | 251 void MockContentBrowserClient::ResourceDispatcherHostCreated() { |
252 } | 252 } |
253 | 253 |
254 SpeechInputManagerDelegate* | 254 SpeechRecognitionManagerDelegate* |
255 MockContentBrowserClient::GetSpeechInputManagerDelegate() { | 255 MockContentBrowserClient::GetSpeechRecognitionManagerDelegate() { |
256 return NULL; | 256 return NULL; |
257 } | 257 } |
258 | 258 |
259 ui::Clipboard* MockContentBrowserClient::GetClipboard() { | 259 ui::Clipboard* MockContentBrowserClient::GetClipboard() { |
260 static ui::Clipboard clipboard; | 260 static ui::Clipboard clipboard; |
261 return &clipboard; | 261 return &clipboard; |
262 } | 262 } |
263 | 263 |
264 net::NetLog* MockContentBrowserClient::GetNetLog() { | 264 net::NetLog* MockContentBrowserClient::GetNetLog() { |
265 return NULL; | 265 return NULL; |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
326 #endif | 326 #endif |
327 | 327 |
328 #if defined(USE_NSS) | 328 #if defined(USE_NSS) |
329 crypto::CryptoModuleBlockingPasswordDelegate* | 329 crypto::CryptoModuleBlockingPasswordDelegate* |
330 MockContentBrowserClient::GetCryptoPasswordDelegate(const GURL& url) { | 330 MockContentBrowserClient::GetCryptoPasswordDelegate(const GURL& url) { |
331 return NULL; | 331 return NULL; |
332 } | 332 } |
333 #endif | 333 #endif |
334 | 334 |
335 } // namespace content | 335 } // namespace content |
OLD | NEW |