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 // This interface is for managing the global services of the application. Each | 5 // This interface is for managing the global services of the application. Each |
6 // service is lazily created when requested the first time. The service getters | 6 // service is lazily created when requested the first time. The service getters |
7 // will return NULL if the service is not available, so callers must check for | 7 // will return NULL if the service is not available, so callers must check for |
8 // this condition. | 8 // this condition. |
9 | 9 |
10 #ifndef CHROME_BROWSER_BROWSER_PROCESS_H_ | 10 #ifndef CHROME_BROWSER_BROWSER_PROCESS_H_ |
(...skipping 19 matching lines...) Expand all Loading... |
30 class NotificationUIManager; | 30 class NotificationUIManager; |
31 class PrefService; | 31 class PrefService; |
32 class Profile; | 32 class Profile; |
33 class ProfileManager; | 33 class ProfileManager; |
34 class SafeBrowsingService; | 34 class SafeBrowsingService; |
35 class StatusTray; | 35 class StatusTray; |
36 class TabCloseableStateWatcher; | 36 class TabCloseableStateWatcher; |
37 class ThumbnailGenerator; | 37 class ThumbnailGenerator; |
38 class WatchDogThread; | 38 class WatchDogThread; |
39 | 39 |
| 40 namespace chrome { |
| 41 class MediaDeviceManager; |
| 42 } |
| 43 |
40 #if defined(OS_CHROMEOS) | 44 #if defined(OS_CHROMEOS) |
41 namespace chromeos { | 45 namespace chromeos { |
42 class OomPriorityManager; | 46 class OomPriorityManager; |
43 } | 47 } |
44 #endif // defined(OS_CHROMEOS) | 48 #endif // defined(OS_CHROMEOS) |
45 | 49 |
46 namespace net { | 50 namespace net { |
47 class URLRequestContextGetter; | 51 class URLRequestContextGetter; |
48 } | 52 } |
49 | 53 |
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
191 #endif | 195 #endif |
192 | 196 |
193 virtual ChromeNetLog* net_log() = 0; | 197 virtual ChromeNetLog* net_log() = 0; |
194 | 198 |
195 virtual prerender::PrerenderTracker* prerender_tracker() = 0; | 199 virtual prerender::PrerenderTracker* prerender_tracker() = 0; |
196 | 200 |
197 virtual ComponentUpdateService* component_updater() = 0; | 201 virtual ComponentUpdateService* component_updater() = 0; |
198 | 202 |
199 virtual CRLSetFetcher* crl_set_fetcher() = 0; | 203 virtual CRLSetFetcher* crl_set_fetcher() = 0; |
200 | 204 |
| 205 virtual chrome::MediaDeviceManager* media_device_manager() = 0; |
| 206 |
201 private: | 207 private: |
202 DISALLOW_COPY_AND_ASSIGN(BrowserProcess); | 208 DISALLOW_COPY_AND_ASSIGN(BrowserProcess); |
203 }; | 209 }; |
204 | 210 |
205 extern BrowserProcess* g_browser_process; | 211 extern BrowserProcess* g_browser_process; |
206 | 212 |
207 #endif // CHROME_BROWSER_BROWSER_PROCESS_H_ | 213 #endif // CHROME_BROWSER_BROWSER_PROCESS_H_ |
OLD | NEW |