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 12 matching lines...) Expand all Loading... |
23 class ChromeNetLog; | 23 class ChromeNetLog; |
24 class CRLSetFetcher; | 24 class CRLSetFetcher; |
25 class ComponentUpdateService; | 25 class ComponentUpdateService; |
26 class DownloadRequestLimiter; | 26 class DownloadRequestLimiter; |
27 class DownloadStatusUpdater; | 27 class DownloadStatusUpdater; |
28 class ExtensionEventRouterForwarder; | 28 class ExtensionEventRouterForwarder; |
29 class GoogleURLTracker; | 29 class GoogleURLTracker; |
30 class IconManager; | 30 class IconManager; |
31 class IntranetRedirectDetector; | 31 class IntranetRedirectDetector; |
32 class IOThread; | 32 class IOThread; |
| 33 class MediaStreamCaptureIndicator; |
33 class MetricsService; | 34 class MetricsService; |
34 class NotificationUIManager; | 35 class NotificationUIManager; |
35 class PrefService; | 36 class PrefService; |
36 class Profile; | 37 class Profile; |
37 class ProfileManager; | 38 class ProfileManager; |
38 class SafeBrowsingService; | 39 class SafeBrowsingService; |
39 class StatusTray; | 40 class StatusTray; |
40 class TabCloseableStateWatcher; | 41 class TabCloseableStateWatcher; |
41 class ThumbnailGenerator; | 42 class ThumbnailGenerator; |
42 class WatchDogThread; | 43 class WatchDogThread; |
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
160 | 161 |
161 virtual DownloadStatusUpdater* download_status_updater() = 0; | 162 virtual DownloadStatusUpdater* download_status_updater() = 0; |
162 virtual DownloadRequestLimiter* download_request_limiter() = 0; | 163 virtual DownloadRequestLimiter* download_request_limiter() = 0; |
163 | 164 |
164 // Returns the object that watches for changes in the closeable state of tab. | 165 // Returns the object that watches for changes in the closeable state of tab. |
165 virtual TabCloseableStateWatcher* tab_closeable_state_watcher() = 0; | 166 virtual TabCloseableStateWatcher* tab_closeable_state_watcher() = 0; |
166 | 167 |
167 // Returns the object that manages background applications. | 168 // Returns the object that manages background applications. |
168 virtual BackgroundModeManager* background_mode_manager() = 0; | 169 virtual BackgroundModeManager* background_mode_manager() = 0; |
169 | 170 |
| 171 // Returns the object that controls the media stream capture icon in the |
| 172 // system status tray. |
| 173 virtual MediaStreamCaptureIndicator* media_stream_capture_indicator() = 0; |
| 174 |
170 // Returns the StatusTray, which provides an API for displaying status icons | 175 // Returns the StatusTray, which provides an API for displaying status icons |
171 // in the system status tray. Returns NULL if status icons are not supported | 176 // in the system status tray. Returns NULL if status icons are not supported |
172 // on this platform (or this is a unit test). | 177 // on this platform (or this is a unit test). |
173 virtual StatusTray* status_tray() = 0; | 178 virtual StatusTray* status_tray() = 0; |
174 | 179 |
175 // Returns the SafeBrowsing service. | 180 // Returns the SafeBrowsing service. |
176 virtual SafeBrowsingService* safe_browsing_service() = 0; | 181 virtual SafeBrowsingService* safe_browsing_service() = 0; |
177 | 182 |
178 // Returns an object which handles communication with the SafeBrowsing | 183 // Returns an object which handles communication with the SafeBrowsing |
179 // client-side detection servers. | 184 // client-side detection servers. |
(...skipping 23 matching lines...) Expand all Loading... |
203 | 208 |
204 virtual CRLSetFetcher* crl_set_fetcher() = 0; | 209 virtual CRLSetFetcher* crl_set_fetcher() = 0; |
205 | 210 |
206 private: | 211 private: |
207 DISALLOW_COPY_AND_ASSIGN(BrowserProcess); | 212 DISALLOW_COPY_AND_ASSIGN(BrowserProcess); |
208 }; | 213 }; |
209 | 214 |
210 extern BrowserProcess* g_browser_process; | 215 extern BrowserProcess* g_browser_process; |
211 | 216 |
212 #endif // CHROME_BROWSER_BROWSER_PROCESS_H_ | 217 #endif // CHROME_BROWSER_BROWSER_PROCESS_H_ |
OLD | NEW |