| 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 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 90 void TestingBrowserProcess::ResourceDispatcherHostCreated() { | 90 void TestingBrowserProcess::ResourceDispatcherHostCreated() { |
| 91 } | 91 } |
| 92 | 92 |
| 93 void TestingBrowserProcess::EndSession() { | 93 void TestingBrowserProcess::EndSession() { |
| 94 } | 94 } |
| 95 | 95 |
| 96 MetricsService* TestingBrowserProcess::metrics_service() { | 96 MetricsService* TestingBrowserProcess::metrics_service() { |
| 97 return NULL; | 97 return NULL; |
| 98 } | 98 } |
| 99 | 99 |
| 100 rappor::RapporService* TestingBrowserProcess::rappor_service() { |
| 101 return NULL; |
| 102 } |
| 103 |
| 100 IOThread* TestingBrowserProcess::io_thread() { | 104 IOThread* TestingBrowserProcess::io_thread() { |
| 101 return io_thread_; | 105 return io_thread_; |
| 102 } | 106 } |
| 103 | 107 |
| 104 WatchDogThread* TestingBrowserProcess::watchdog_thread() { | 108 WatchDogThread* TestingBrowserProcess::watchdog_thread() { |
| 105 return NULL; | 109 return NULL; |
| 106 } | 110 } |
| 107 | 111 |
| 108 ProfileManager* TestingBrowserProcess::profile_manager() { | 112 ProfileManager* TestingBrowserProcess::profile_manager() { |
| 109 #if defined(OS_IOS) | 113 #if defined(OS_IOS) |
| (...skipping 335 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 445 | 449 |
| 446 /////////////////////////////////////////////////////////////////////////////// | 450 /////////////////////////////////////////////////////////////////////////////// |
| 447 | 451 |
| 448 TestingBrowserProcessInitializer::TestingBrowserProcessInitializer() { | 452 TestingBrowserProcessInitializer::TestingBrowserProcessInitializer() { |
| 449 TestingBrowserProcess::CreateInstance(); | 453 TestingBrowserProcess::CreateInstance(); |
| 450 } | 454 } |
| 451 | 455 |
| 452 TestingBrowserProcessInitializer::~TestingBrowserProcessInitializer() { | 456 TestingBrowserProcessInitializer::~TestingBrowserProcessInitializer() { |
| 453 TestingBrowserProcess::DeleteInstance(); | 457 TestingBrowserProcess::DeleteInstance(); |
| 454 } | 458 } |
| OLD | NEW |