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 GLStringManager; | 28 class GLStringManager; |
29 class GpuModeManager; | 29 class GpuModeManager; |
30 class IconManager; | 30 class IconManager; |
31 class IntranetRedirectDetector; | 31 class IntranetRedirectDetector; |
32 class IOThread; | 32 class IOThread; |
| 33 class MediaFileSystemRegistry; |
33 class MetricsService; | 34 class MetricsService; |
34 class NotificationUIManager; | 35 class NotificationUIManager; |
35 class PnaclComponentInstaller; | 36 class PnaclComponentInstaller; |
36 class PrefRegistrySimple; | 37 class PrefRegistrySimple; |
37 class PrefService; | 38 class PrefService; |
38 class Profile; | 39 class Profile; |
39 class ProfileManager; | 40 class ProfileManager; |
40 class RenderWidgetSnapshotTaker; | 41 class RenderWidgetSnapshotTaker; |
41 class SafeBrowsingService; | 42 class SafeBrowsingService; |
42 class StatusTray; | 43 class StatusTray; |
| 44 class StorageMonitor; |
43 class WatchDogThread; | 45 class WatchDogThread; |
44 #if defined(ENABLE_WEBRTC) | 46 #if defined(ENABLE_WEBRTC) |
45 class WebRtcLogUploader; | 47 class WebRtcLogUploader; |
46 #endif | 48 #endif |
47 | 49 |
48 namespace chrome { | |
49 class MediaFileSystemRegistry; | |
50 class StorageMonitor; | |
51 } | |
52 | |
53 namespace chrome_variations { | 50 namespace chrome_variations { |
54 class VariationsService; | 51 class VariationsService; |
55 } | 52 } |
56 | 53 |
57 namespace extensions { | 54 namespace extensions { |
58 class EventRouterForwarder; | 55 class EventRouterForwarder; |
59 } | 56 } |
60 | 57 |
61 namespace message_center { | 58 namespace message_center { |
62 class MessageCenter; | 59 class MessageCenter; |
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
209 virtual prerender::PrerenderTracker* prerender_tracker() = 0; | 206 virtual prerender::PrerenderTracker* prerender_tracker() = 0; |
210 | 207 |
211 virtual ComponentUpdateService* component_updater() = 0; | 208 virtual ComponentUpdateService* component_updater() = 0; |
212 | 209 |
213 virtual CRLSetFetcher* crl_set_fetcher() = 0; | 210 virtual CRLSetFetcher* crl_set_fetcher() = 0; |
214 | 211 |
215 virtual PnaclComponentInstaller* pnacl_component_installer() = 0; | 212 virtual PnaclComponentInstaller* pnacl_component_installer() = 0; |
216 | 213 |
217 virtual BookmarkPromptController* bookmark_prompt_controller() = 0; | 214 virtual BookmarkPromptController* bookmark_prompt_controller() = 0; |
218 | 215 |
219 virtual chrome::MediaFileSystemRegistry* media_file_system_registry() = 0; | 216 virtual MediaFileSystemRegistry* media_file_system_registry() = 0; |
220 | 217 |
221 virtual chrome::StorageMonitor* storage_monitor() = 0; | 218 virtual StorageMonitor* storage_monitor() = 0; |
222 | 219 |
223 virtual bool created_local_state() const = 0; | 220 virtual bool created_local_state() const = 0; |
224 | 221 |
225 #if defined(ENABLE_WEBRTC) | 222 #if defined(ENABLE_WEBRTC) |
226 virtual WebRtcLogUploader* webrtc_log_uploader() = 0; | 223 virtual WebRtcLogUploader* webrtc_log_uploader() = 0; |
227 #endif | 224 #endif |
228 | 225 |
229 private: | 226 private: |
230 DISALLOW_COPY_AND_ASSIGN(BrowserProcess); | 227 DISALLOW_COPY_AND_ASSIGN(BrowserProcess); |
231 }; | 228 }; |
232 | 229 |
233 extern BrowserProcess* g_browser_process; | 230 extern BrowserProcess* g_browser_process; |
234 | 231 |
235 #endif // CHROME_BROWSER_BROWSER_PROCESS_H_ | 232 #endif // CHROME_BROWSER_BROWSER_PROCESS_H_ |
OLD | NEW |