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

Side by Side Diff: chrome/test/base/testing_browser_process.cc

Issue 138553004: Move component updater artifacts into component_updater namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 11 months 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
« no previous file with comments | « chrome/test/base/testing_browser_process.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 "chrome/test/base/testing_browser_process.h" 5 #include "chrome/test/base/testing_browser_process.h"
6 6
7 #include "base/prefs/pref_service.h" 7 #include "base/prefs/pref_service.h"
8 #include "base/strings/string_util.h" 8 #include "base/strings/string_util.h"
9 #include "build/build_config.h" 9 #include "build/build_config.h"
10 #include "chrome/browser/background/background_mode_manager.h" 10 #include "chrome/browser/background/background_mode_manager.h"
(...skipping 322 matching lines...) Expand 10 before | Expand all | Expand 10 after
333 #if defined(OS_IOS) 333 #if defined(OS_IOS)
334 NOTIMPLEMENTED(); 334 NOTIMPLEMENTED();
335 return NULL; 335 return NULL;
336 #else 336 #else
337 if (!prerender_tracker_.get()) 337 if (!prerender_tracker_.get())
338 prerender_tracker_.reset(new prerender::PrerenderTracker()); 338 prerender_tracker_.reset(new prerender::PrerenderTracker());
339 return prerender_tracker_.get(); 339 return prerender_tracker_.get();
340 #endif 340 #endif
341 } 341 }
342 342
343 ComponentUpdateService* TestingBrowserProcess::component_updater() { 343 component_updater::ComponentUpdateService*
344 TestingBrowserProcess::component_updater() {
344 return NULL; 345 return NULL;
345 } 346 }
346 347
347 CRLSetFetcher* TestingBrowserProcess::crl_set_fetcher() { 348 CRLSetFetcher* TestingBrowserProcess::crl_set_fetcher() {
348 return NULL; 349 return NULL;
349 } 350 }
350 351
351 PnaclComponentInstaller* TestingBrowserProcess::pnacl_component_installer() { 352 component_updater::PnaclComponentInstaller*
353 TestingBrowserProcess::pnacl_component_installer() {
352 return NULL; 354 return NULL;
353 } 355 }
354 356
355 BookmarkPromptController* TestingBrowserProcess::bookmark_prompt_controller() { 357 BookmarkPromptController* TestingBrowserProcess::bookmark_prompt_controller() {
356 #if defined(OS_IOS) 358 #if defined(OS_IOS)
357 NOTIMPLEMENTED(); 359 NOTIMPLEMENTED();
358 return NULL; 360 return NULL;
359 #else 361 #else
360 return bookmark_prompt_controller_.get(); 362 return bookmark_prompt_controller_.get();
361 #endif 363 #endif
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
457 459
458 /////////////////////////////////////////////////////////////////////////////// 460 ///////////////////////////////////////////////////////////////////////////////
459 461
460 TestingBrowserProcessInitializer::TestingBrowserProcessInitializer() { 462 TestingBrowserProcessInitializer::TestingBrowserProcessInitializer() {
461 TestingBrowserProcess::CreateInstance(); 463 TestingBrowserProcess::CreateInstance();
462 } 464 }
463 465
464 TestingBrowserProcessInitializer::~TestingBrowserProcessInitializer() { 466 TestingBrowserProcessInitializer::~TestingBrowserProcessInitializer() {
465 TestingBrowserProcess::DeleteInstance(); 467 TestingBrowserProcess::DeleteInstance();
466 } 468 }
OLDNEW
« no previous file with comments | « chrome/test/base/testing_browser_process.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698