Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(33)

Side by Side Diff: content/browser/mock_content_browser_client.cc

Issue 8609010: Make DevToolsManager a singleton, remove it from ContentBrowserClient (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Reverted notification service changes, use non-leaky singleton Created 9 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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/logging.h" 9 #include "base/logging.h"
10 #include "base/file_path.h" 10 #include "base/file_path.h"
(...skipping 232 matching lines...) Expand 10 before | Expand all | Expand 10 after
243 243
244 ui::Clipboard* MockContentBrowserClient::GetClipboard() { 244 ui::Clipboard* MockContentBrowserClient::GetClipboard() {
245 static ui::Clipboard clipboard; 245 static ui::Clipboard clipboard;
246 return &clipboard; 246 return &clipboard;
247 } 247 }
248 248
249 MHTMLGenerationManager* MockContentBrowserClient::GetMHTMLGenerationManager() { 249 MHTMLGenerationManager* MockContentBrowserClient::GetMHTMLGenerationManager() {
250 return NULL; 250 return NULL;
251 } 251 }
252 252
253 DevToolsManager* MockContentBrowserClient::GetDevToolsManager() {
254 return NULL;
255 }
256
257 net::NetLog* MockContentBrowserClient::GetNetLog() { 253 net::NetLog* MockContentBrowserClient::GetNetLog() {
258 return NULL; 254 return NULL;
259 } 255 }
260 256
261 speech_input::SpeechInputManager* 257 speech_input::SpeechInputManager*
262 MockContentBrowserClient::GetSpeechInputManager() { 258 MockContentBrowserClient::GetSpeechInputManager() {
263 return NULL; 259 return NULL;
264 } 260 }
265 261
266 AccessTokenStore* MockContentBrowserClient::CreateAccessTokenStore() { 262 AccessTokenStore* MockContentBrowserClient::CreateAccessTokenStore() {
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
318 #endif 314 #endif
319 315
320 #if defined(USE_NSS) 316 #if defined(USE_NSS)
321 crypto::CryptoModuleBlockingPasswordDelegate* 317 crypto::CryptoModuleBlockingPasswordDelegate*
322 MockContentBrowserClient::GetCryptoPasswordDelegate(const GURL& url) { 318 MockContentBrowserClient::GetCryptoPasswordDelegate(const GURL& url) {
323 return NULL; 319 return NULL;
324 } 320 }
325 #endif 321 #endif
326 322
327 } // namespace content 323 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/mock_content_browser_client.h ('k') | content/public/browser/content_browser_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698