Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(363)

Side by Side Diff: chrome/test/base/testing_browser_process.cc

Issue 8818012: Remove the AudioManager singleton. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Set svn eol properties for a couple of files Created 9 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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/string_util.h" 7 #include "base/string_util.h"
8 #include "chrome/browser/google/google_url_tracker.h" 8 #include "chrome/browser/google/google_url_tracker.h"
9 #include "chrome/browser/notifications/notification_ui_manager.h" 9 #include "chrome/browser/notifications/notification_ui_manager.h"
10 #include "chrome/browser/policy/browser_policy_connector.h" 10 #include "chrome/browser/policy/browser_policy_connector.h"
(...skipping 208 matching lines...) Expand 10 before | Expand all | Expand 10 after
219 } 219 }
220 220
221 ComponentUpdateService* TestingBrowserProcess::component_updater() { 221 ComponentUpdateService* TestingBrowserProcess::component_updater() {
222 return NULL; 222 return NULL;
223 } 223 }
224 224
225 CRLSetFetcher* TestingBrowserProcess::crl_set_fetcher() { 225 CRLSetFetcher* TestingBrowserProcess::crl_set_fetcher() {
226 return NULL; 226 return NULL;
227 } 227 }
228 228
229 AudioManager* TestingBrowserProcess::audio_manager() {
230 return NULL;
231 }
232
229 void TestingBrowserProcess::SetLocalState(PrefService* local_state) { 233 void TestingBrowserProcess::SetLocalState(PrefService* local_state) {
230 if (!local_state && notification_ui_manager_.get()) 234 if (!local_state && notification_ui_manager_.get())
231 notification_ui_manager_.reset(); // Used local_state_. 235 notification_ui_manager_.reset(); // Used local_state_.
232 local_state_ = local_state; 236 local_state_ = local_state;
233 } 237 }
234 238
235 void TestingBrowserProcess::SetGoogleURLTracker( 239 void TestingBrowserProcess::SetGoogleURLTracker(
236 GoogleURLTracker* google_url_tracker) { 240 GoogleURLTracker* google_url_tracker) {
237 google_url_tracker_.reset(google_url_tracker); 241 google_url_tracker_.reset(google_url_tracker);
238 } 242 }
239 243
240 void TestingBrowserProcess::SetIOThread(IOThread* io_thread) { 244 void TestingBrowserProcess::SetIOThread(IOThread* io_thread) {
241 io_thread_ = io_thread; 245 io_thread_ = io_thread;
242 } 246 }
243 247
244 void TestingBrowserProcess::SetBrowserPolicyConnector( 248 void TestingBrowserProcess::SetBrowserPolicyConnector(
245 policy::BrowserPolicyConnector* connector) { 249 policy::BrowserPolicyConnector* connector) {
246 browser_policy_connector_.reset(connector); 250 browser_policy_connector_.reset(connector);
247 } 251 }
OLDNEW
« no previous file with comments | « chrome/test/base/testing_browser_process.h ('k') | content/browser/renderer_host/media/audio_input_device_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698