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/string_util.h" | 8 #include "base/string_util.h" |
9 #include "build/build_config.h" | 9 #include "build/build_config.h" |
10 #include "chrome/browser/browser_process.h" | 10 #include "chrome/browser/browser_process.h" |
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
129 } | 129 } |
130 | 130 |
131 IconManager* TestingBrowserProcess::icon_manager() { | 131 IconManager* TestingBrowserProcess::icon_manager() { |
132 return NULL; | 132 return NULL; |
133 } | 133 } |
134 | 134 |
135 GLStringManager* TestingBrowserProcess::gl_string_manager() { | 135 GLStringManager* TestingBrowserProcess::gl_string_manager() { |
136 return NULL; | 136 return NULL; |
137 } | 137 } |
138 | 138 |
| 139 GpuModeManager* TestingBrowserProcess::gpu_mode_manager() { |
| 140 return NULL; |
| 141 } |
| 142 |
139 RenderWidgetSnapshotTaker* | 143 RenderWidgetSnapshotTaker* |
140 TestingBrowserProcess::GetRenderWidgetSnapshotTaker() { | 144 TestingBrowserProcess::GetRenderWidgetSnapshotTaker() { |
141 #if defined(OS_IOS) | 145 #if defined(OS_IOS) |
142 NOTREACHED(); | 146 NOTREACHED(); |
143 return NULL; | 147 return NULL; |
144 #else | 148 #else |
145 return render_widget_snapshot_taker_.get(); | 149 return render_widget_snapshot_taker_.get(); |
146 #endif | 150 #endif |
147 } | 151 } |
148 | 152 |
(...skipping 233 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
382 #endif | 386 #endif |
383 } | 387 } |
384 | 388 |
385 void TestingBrowserProcess::SetSafeBrowsingService( | 389 void TestingBrowserProcess::SetSafeBrowsingService( |
386 SafeBrowsingService* sb_service) { | 390 SafeBrowsingService* sb_service) { |
387 #if !defined(OS_IOS) | 391 #if !defined(OS_IOS) |
388 NOTIMPLEMENTED(); | 392 NOTIMPLEMENTED(); |
389 sb_service_ = sb_service; | 393 sb_service_ = sb_service; |
390 #endif | 394 #endif |
391 } | 395 } |
OLD | NEW |