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 161 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
172 if (!policy_service_) | 172 if (!policy_service_) |
173 policy_service_.reset(new policy::PolicyServiceStub()); | 173 policy_service_.reset(new policy::PolicyServiceStub()); |
174 return policy_service_.get(); | 174 return policy_service_.get(); |
175 #endif | 175 #endif |
176 } | 176 } |
177 | 177 |
178 IconManager* TestingBrowserProcess::icon_manager() { | 178 IconManager* TestingBrowserProcess::icon_manager() { |
179 return NULL; | 179 return NULL; |
180 } | 180 } |
181 | 181 |
182 GLStringManager* TestingBrowserProcess::gl_string_manager() { | |
183 return NULL; | |
184 } | |
185 | |
186 GpuModeManager* TestingBrowserProcess::gpu_mode_manager() { | 182 GpuModeManager* TestingBrowserProcess::gpu_mode_manager() { |
187 return NULL; | 183 return NULL; |
188 } | 184 } |
189 | 185 |
| 186 GpuPrefManager* TestingBrowserProcess::gpu_pref_manager() { |
| 187 return NULL; |
| 188 } |
| 189 |
190 BackgroundModeManager* TestingBrowserProcess::background_mode_manager() { | 190 BackgroundModeManager* TestingBrowserProcess::background_mode_manager() { |
191 return NULL; | 191 return NULL; |
192 } | 192 } |
193 | 193 |
194 void TestingBrowserProcess::set_background_mode_manager_for_test( | 194 void TestingBrowserProcess::set_background_mode_manager_for_test( |
195 scoped_ptr<BackgroundModeManager> manager) { | 195 scoped_ptr<BackgroundModeManager> manager) { |
196 NOTREACHED(); | 196 NOTREACHED(); |
197 } | 197 } |
198 | 198 |
199 StatusTray* TestingBrowserProcess::status_tray() { | 199 StatusTray* TestingBrowserProcess::status_tray() { |
(...skipping 238 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 |