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 237 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
248 SpeechInputManagerDelegate* | 248 SpeechInputManagerDelegate* |
249 MockContentBrowserClient::GetSpeechInputManagerDelegate() { | 249 MockContentBrowserClient::GetSpeechInputManagerDelegate() { |
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() { | |
259 return NULL; | |
260 } | |
261 | |
262 net::NetLog* MockContentBrowserClient::GetNetLog() { | 258 net::NetLog* MockContentBrowserClient::GetNetLog() { |
263 return NULL; | 259 return NULL; |
264 } | 260 } |
265 | 261 |
266 AccessTokenStore* MockContentBrowserClient::CreateAccessTokenStore() { | 262 AccessTokenStore* MockContentBrowserClient::CreateAccessTokenStore() { |
267 return NULL; | 263 return NULL; |
268 } | 264 } |
269 | 265 |
270 bool MockContentBrowserClient::IsFastShutdownPossible() { | 266 bool MockContentBrowserClient::IsFastShutdownPossible() { |
271 return true; | 267 return true; |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
322 #endif | 318 #endif |
323 | 319 |
324 #if defined(USE_NSS) | 320 #if defined(USE_NSS) |
325 crypto::CryptoModuleBlockingPasswordDelegate* | 321 crypto::CryptoModuleBlockingPasswordDelegate* |
326 MockContentBrowserClient::GetCryptoPasswordDelegate(const GURL& url) { | 322 MockContentBrowserClient::GetCryptoPasswordDelegate(const GURL& url) { |
327 return NULL; | 323 return NULL; |
328 } | 324 } |
329 #endif | 325 #endif |
330 | 326 |
331 } // namespace content | 327 } // namespace content |
OLD | NEW |