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 171 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
182 } | 182 } |
183 | 183 |
184 IconManager* TestingBrowserProcess::icon_manager() { | 184 IconManager* TestingBrowserProcess::icon_manager() { |
185 return nullptr; | 185 return nullptr; |
186 } | 186 } |
187 | 187 |
188 GLStringManager* TestingBrowserProcess::gl_string_manager() { | 188 GLStringManager* TestingBrowserProcess::gl_string_manager() { |
189 return nullptr; | 189 return nullptr; |
190 } | 190 } |
191 | 191 |
| 192 SidebarManager* TestingBrowserProcess::sidebar_manager() { |
| 193 return NULL; |
| 194 } |
| 195 |
192 GpuModeManager* TestingBrowserProcess::gpu_mode_manager() { | 196 GpuModeManager* TestingBrowserProcess::gpu_mode_manager() { |
193 return nullptr; | 197 return nullptr; |
194 } | 198 } |
195 | 199 |
196 BackgroundModeManager* TestingBrowserProcess::background_mode_manager() { | 200 BackgroundModeManager* TestingBrowserProcess::background_mode_manager() { |
197 return nullptr; | 201 return nullptr; |
198 } | 202 } |
199 | 203 |
200 void TestingBrowserProcess::set_background_mode_manager_for_test( | 204 void TestingBrowserProcess::set_background_mode_manager_for_test( |
201 scoped_ptr<BackgroundModeManager> manager) { | 205 scoped_ptr<BackgroundModeManager> manager) { |
(...skipping 237 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
439 | 443 |
440 /////////////////////////////////////////////////////////////////////////////// | 444 /////////////////////////////////////////////////////////////////////////////// |
441 | 445 |
442 TestingBrowserProcessInitializer::TestingBrowserProcessInitializer() { | 446 TestingBrowserProcessInitializer::TestingBrowserProcessInitializer() { |
443 TestingBrowserProcess::CreateInstance(); | 447 TestingBrowserProcess::CreateInstance(); |
444 } | 448 } |
445 | 449 |
446 TestingBrowserProcessInitializer::~TestingBrowserProcessInitializer() { | 450 TestingBrowserProcessInitializer::~TestingBrowserProcessInitializer() { |
447 TestingBrowserProcess::DeleteInstance(); | 451 TestingBrowserProcess::DeleteInstance(); |
448 } | 452 } |
OLD | NEW |