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

Side by Side Diff: chrome/browser/browser_process_impl.h

Issue 9433006: Remove GetAudioManager and GetMediaStreamManager from ResourceContext. The reason is the content mo… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: review comments Created 8 years, 10 months 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
« no previous file with comments | « chrome/browser/browser_process.h ('k') | chrome/browser/browser_process_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 // When each service is created, we set a flag indicating this. At this point, 5 // When each service is created, we set a flag indicating this. At this point,
6 // the service initialization could fail or succeed. This allows us to remember 6 // the service initialization could fail or succeed. This allows us to remember
7 // if we tried to create a service, and not try creating it over and over if 7 // if we tried to create a service, and not try creating it over and over if
8 // the creation failed. 8 // the creation failed.
9 9
10 #ifndef CHROME_BROWSER_BROWSER_PROCESS_IMPL_H_ 10 #ifndef CHROME_BROWSER_BROWSER_PROCESS_IMPL_H_
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
116 116
117 #if (defined(OS_WIN) || defined(OS_LINUX)) && !defined(OS_CHROMEOS) 117 #if (defined(OS_WIN) || defined(OS_LINUX)) && !defined(OS_CHROMEOS)
118 virtual void StartAutoupdateTimer() OVERRIDE; 118 virtual void StartAutoupdateTimer() OVERRIDE;
119 #endif 119 #endif
120 120
121 virtual ChromeNetLog* net_log() OVERRIDE; 121 virtual ChromeNetLog* net_log() OVERRIDE;
122 virtual prerender::PrerenderTracker* prerender_tracker() OVERRIDE; 122 virtual prerender::PrerenderTracker* prerender_tracker() OVERRIDE;
123 virtual MHTMLGenerationManager* mhtml_generation_manager() OVERRIDE; 123 virtual MHTMLGenerationManager* mhtml_generation_manager() OVERRIDE;
124 virtual ComponentUpdateService* component_updater() OVERRIDE; 124 virtual ComponentUpdateService* component_updater() OVERRIDE;
125 virtual CRLSetFetcher* crl_set_fetcher() OVERRIDE; 125 virtual CRLSetFetcher* crl_set_fetcher() OVERRIDE;
126 virtual AudioManager* audio_manager() OVERRIDE;
127 126
128 private: 127 private:
129 void CreateMetricsService(); 128 void CreateMetricsService();
130 void CreateWatchdogThread(); 129 void CreateWatchdogThread();
131 #if defined(OS_CHROMEOS) 130 #if defined(OS_CHROMEOS)
132 void InitializeWebSocketProxyThread(); 131 void InitializeWebSocketProxyThread();
133 #endif 132 #endif
134 void CreateTemplateURLService(); 133 void CreateTemplateURLService();
135 void CreateProfileManager(); 134 void CreateProfileManager();
136 void CreateWebDataService(); 135 void CreateWebDataService();
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
261 260
262 // Per-process listener for online state changes. 261 // Per-process listener for online state changes.
263 scoped_ptr<BrowserOnlineStateObserver> online_state_observer_; 262 scoped_ptr<BrowserOnlineStateObserver> online_state_observer_;
264 263
265 #if !defined(OS_CHROMEOS) 264 #if !defined(OS_CHROMEOS)
266 scoped_ptr<ComponentUpdateService> component_updater_; 265 scoped_ptr<ComponentUpdateService> component_updater_;
267 266
268 scoped_refptr<CRLSetFetcher> crl_set_fetcher_; 267 scoped_refptr<CRLSetFetcher> crl_set_fetcher_;
269 #endif 268 #endif
270 269
271 scoped_ptr<AudioManager> audio_manager_;
272
273 // TODO(eroman): Remove this when done debugging 113031. This tracks 270 // TODO(eroman): Remove this when done debugging 113031. This tracks
274 // the callstack which released the final module reference count. 271 // the callstack which released the final module reference count.
275 base::debug::StackTrace release_last_reference_callstack_; 272 base::debug::StackTrace release_last_reference_callstack_;
276 273
277 DISALLOW_COPY_AND_ASSIGN(BrowserProcessImpl); 274 DISALLOW_COPY_AND_ASSIGN(BrowserProcessImpl);
278 }; 275 };
279 276
280 #endif // CHROME_BROWSER_BROWSER_PROCESS_IMPL_H_ 277 #endif // CHROME_BROWSER_BROWSER_PROCESS_IMPL_H_
OLDNEW
« no previous file with comments | « chrome/browser/browser_process.h ('k') | chrome/browser/browser_process_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698