OLD | NEW |
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 // 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 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
119 | 119 |
120 #if (defined(OS_WIN) || defined(OS_LINUX)) && !defined(OS_CHROMEOS) | 120 #if (defined(OS_WIN) || defined(OS_LINUX)) && !defined(OS_CHROMEOS) |
121 virtual void StartAutoupdateTimer() OVERRIDE; | 121 virtual void StartAutoupdateTimer() OVERRIDE; |
122 #endif | 122 #endif |
123 | 123 |
124 virtual ChromeNetLog* net_log() OVERRIDE; | 124 virtual ChromeNetLog* net_log() OVERRIDE; |
125 virtual prerender::PrerenderTracker* prerender_tracker() OVERRIDE; | 125 virtual prerender::PrerenderTracker* prerender_tracker() OVERRIDE; |
126 virtual MHTMLGenerationManager* mhtml_generation_manager() OVERRIDE; | 126 virtual MHTMLGenerationManager* mhtml_generation_manager() OVERRIDE; |
127 virtual ComponentUpdateService* component_updater() OVERRIDE; | 127 virtual ComponentUpdateService* component_updater() OVERRIDE; |
128 virtual CRLSetFetcher* crl_set_fetcher() OVERRIDE; | 128 virtual CRLSetFetcher* crl_set_fetcher() OVERRIDE; |
| 129 virtual AudioManager* audio_manager() OVERRIDE; |
129 | 130 |
130 private: | 131 private: |
131 // TODO(joi): Remove. Temporary hack to get at CreateIOThreadState. | 132 // TODO(joi): Remove. Temporary hack to get at CreateIOThreadState. |
132 friend class ChromeFrameFriendOfBrowserProcessImpl; | 133 friend class ChromeFrameFriendOfBrowserProcessImpl; |
133 | 134 |
134 // Must be called right before the IO thread is started. | 135 // Must be called right before the IO thread is started. |
135 void CreateIOThreadState(); | 136 void CreateIOThreadState(); |
136 | 137 |
137 void CreateResourceDispatcherHost(); | 138 void CreateResourceDispatcherHost(); |
138 void CreateMetricsService(); | 139 void CreateMetricsService(); |
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
279 | 280 |
280 // Per-process listener for online state changes. | 281 // Per-process listener for online state changes. |
281 scoped_ptr<BrowserOnlineStateObserver> online_state_observer_; | 282 scoped_ptr<BrowserOnlineStateObserver> online_state_observer_; |
282 | 283 |
283 #if !defined(OS_CHROMEOS) | 284 #if !defined(OS_CHROMEOS) |
284 scoped_ptr<ComponentUpdateService> component_updater_; | 285 scoped_ptr<ComponentUpdateService> component_updater_; |
285 | 286 |
286 scoped_refptr<CRLSetFetcher> crl_set_fetcher_; | 287 scoped_refptr<CRLSetFetcher> crl_set_fetcher_; |
287 #endif | 288 #endif |
288 | 289 |
| 290 scoped_refptr<AudioManager> audio_manager_; |
| 291 |
289 DISALLOW_COPY_AND_ASSIGN(BrowserProcessImpl); | 292 DISALLOW_COPY_AND_ASSIGN(BrowserProcessImpl); |
290 }; | 293 }; |
291 | 294 |
292 #endif // CHROME_BROWSER_BROWSER_PROCESS_IMPL_H_ | 295 #endif // CHROME_BROWSER_BROWSER_PROCESS_IMPL_H_ |
OLD | NEW |