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 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
97 void TestingBrowserProcess::ResourceDispatcherHostCreated() { | 97 void TestingBrowserProcess::ResourceDispatcherHostCreated() { |
98 } | 98 } |
99 | 99 |
100 void TestingBrowserProcess::EndSession() { | 100 void TestingBrowserProcess::EndSession() { |
101 } | 101 } |
102 | 102 |
103 MetricsServicesManager* TestingBrowserProcess::GetMetricsServicesManager() { | 103 MetricsServicesManager* TestingBrowserProcess::GetMetricsServicesManager() { |
104 return NULL; | 104 return NULL; |
105 } | 105 } |
106 | 106 |
107 MetricsService* TestingBrowserProcess::metrics_service() { | 107 metrics::MetricsService* TestingBrowserProcess::metrics_service() { |
108 return NULL; | 108 return NULL; |
109 } | 109 } |
110 | 110 |
111 rappor::RapporService* TestingBrowserProcess::rappor_service() { | 111 rappor::RapporService* TestingBrowserProcess::rappor_service() { |
112 return NULL; | 112 return NULL; |
113 } | 113 } |
114 | 114 |
115 IOThread* TestingBrowserProcess::io_thread() { | 115 IOThread* TestingBrowserProcess::io_thread() { |
116 return io_thread_; | 116 return io_thread_; |
117 } | 117 } |
(...skipping 320 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
438 | 438 |
439 /////////////////////////////////////////////////////////////////////////////// | 439 /////////////////////////////////////////////////////////////////////////////// |
440 | 440 |
441 TestingBrowserProcessInitializer::TestingBrowserProcessInitializer() { | 441 TestingBrowserProcessInitializer::TestingBrowserProcessInitializer() { |
442 TestingBrowserProcess::CreateInstance(); | 442 TestingBrowserProcess::CreateInstance(); |
443 } | 443 } |
444 | 444 |
445 TestingBrowserProcessInitializer::~TestingBrowserProcessInitializer() { | 445 TestingBrowserProcessInitializer::~TestingBrowserProcessInitializer() { |
446 TestingBrowserProcess::DeleteInstance(); | 446 TestingBrowserProcess::DeleteInstance(); |
447 } | 447 } |
OLD | NEW |