| 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 "base/time/default_tick_clock.h" | 9 #include "base/time/default_tick_clock.h" |
| 10 #include "build/build_config.h" | 10 #include "build/build_config.h" |
| (...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 95 void TestingBrowserProcess::ResourceDispatcherHostCreated() { | 95 void TestingBrowserProcess::ResourceDispatcherHostCreated() { |
| 96 } | 96 } |
| 97 | 97 |
| 98 void TestingBrowserProcess::EndSession() { | 98 void TestingBrowserProcess::EndSession() { |
| 99 } | 99 } |
| 100 | 100 |
| 101 MetricsService* TestingBrowserProcess::metrics_service() { | 101 MetricsService* TestingBrowserProcess::metrics_service() { |
| 102 return NULL; | 102 return NULL; |
| 103 } | 103 } |
| 104 | 104 |
| 105 PluginMetricsProvider* TestingBrowserProcess::plugin_metrics_provider() { |
| 106 return NULL; |
| 107 } |
| 108 |
| 105 rappor::RapporService* TestingBrowserProcess::rappor_service() { | 109 rappor::RapporService* TestingBrowserProcess::rappor_service() { |
| 106 return NULL; | 110 return NULL; |
| 107 } | 111 } |
| 108 | 112 |
| 109 IOThread* TestingBrowserProcess::io_thread() { | 113 IOThread* TestingBrowserProcess::io_thread() { |
| 110 return io_thread_; | 114 return io_thread_; |
| 111 } | 115 } |
| 112 | 116 |
| 113 WatchDogThread* TestingBrowserProcess::watchdog_thread() { | 117 WatchDogThread* TestingBrowserProcess::watchdog_thread() { |
| 114 return NULL; | 118 return NULL; |
| (...skipping 305 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 420 | 424 |
| 421 /////////////////////////////////////////////////////////////////////////////// | 425 /////////////////////////////////////////////////////////////////////////////// |
| 422 | 426 |
| 423 TestingBrowserProcessInitializer::TestingBrowserProcessInitializer() { | 427 TestingBrowserProcessInitializer::TestingBrowserProcessInitializer() { |
| 424 TestingBrowserProcess::CreateInstance(); | 428 TestingBrowserProcess::CreateInstance(); |
| 425 } | 429 } |
| 426 | 430 |
| 427 TestingBrowserProcessInitializer::~TestingBrowserProcessInitializer() { | 431 TestingBrowserProcessInitializer::~TestingBrowserProcessInitializer() { |
| 428 TestingBrowserProcess::DeleteInstance(); | 432 TestingBrowserProcess::DeleteInstance(); |
| 429 } | 433 } |
| OLD | NEW |