| 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 "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 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 94 void TestingBrowserProcess::ResourceDispatcherHostCreated() { | 94 void TestingBrowserProcess::ResourceDispatcherHostCreated() { |
| 95 } | 95 } |
| 96 | 96 |
| 97 void TestingBrowserProcess::EndSession() { | 97 void TestingBrowserProcess::EndSession() { |
| 98 } | 98 } |
| 99 | 99 |
| 100 MetricsService* TestingBrowserProcess::metrics_service() { | 100 MetricsService* TestingBrowserProcess::metrics_service() { |
| 101 return NULL; | 101 return NULL; |
| 102 } | 102 } |
| 103 | 103 |
| 104 rappor::RapporService* TestingBrowserProcess::rappor_service() { |
| 105 return NULL; |
| 106 } |
| 107 |
| 104 IOThread* TestingBrowserProcess::io_thread() { | 108 IOThread* TestingBrowserProcess::io_thread() { |
| 105 return io_thread_; | 109 return io_thread_; |
| 106 } | 110 } |
| 107 | 111 |
| 108 WatchDogThread* TestingBrowserProcess::watchdog_thread() { | 112 WatchDogThread* TestingBrowserProcess::watchdog_thread() { |
| 109 return NULL; | 113 return NULL; |
| 110 } | 114 } |
| 111 | 115 |
| 112 ProfileManager* TestingBrowserProcess::profile_manager() { | 116 ProfileManager* TestingBrowserProcess::profile_manager() { |
| 113 #if defined(OS_IOS) | 117 #if defined(OS_IOS) |
| (...skipping 336 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 450 | 454 |
| 451 /////////////////////////////////////////////////////////////////////////////// | 455 /////////////////////////////////////////////////////////////////////////////// |
| 452 | 456 |
| 453 TestingBrowserProcessInitializer::TestingBrowserProcessInitializer() { | 457 TestingBrowserProcessInitializer::TestingBrowserProcessInitializer() { |
| 454 TestingBrowserProcess::CreateInstance(); | 458 TestingBrowserProcess::CreateInstance(); |
| 455 } | 459 } |
| 456 | 460 |
| 457 TestingBrowserProcessInitializer::~TestingBrowserProcessInitializer() { | 461 TestingBrowserProcessInitializer::~TestingBrowserProcessInitializer() { |
| 458 TestingBrowserProcess::DeleteInstance(); | 462 TestingBrowserProcess::DeleteInstance(); |
| 459 } | 463 } |
| OLD | NEW |