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 13 matching lines...) Expand all Loading... |
24 class ComponentUpdateService; | 24 class ComponentUpdateService; |
25 class DownloadRequestLimiter; | 25 class DownloadRequestLimiter; |
26 class DownloadStatusUpdater; | 26 class DownloadStatusUpdater; |
27 class GLStringManager; | 27 class GLStringManager; |
28 class GpuModeManager; | 28 class GpuModeManager; |
29 class IconManager; | 29 class IconManager; |
30 class IntranetRedirectDetector; | 30 class IntranetRedirectDetector; |
31 class IOThread; | 31 class IOThread; |
32 class MetricsService; | 32 class MetricsService; |
33 class NotificationUIManager; | 33 class NotificationUIManager; |
| 34 class PnaclComponentInstaller; |
34 class PrefRegistrySimple; | 35 class PrefRegistrySimple; |
35 class PrefService; | 36 class PrefService; |
36 class Profile; | 37 class Profile; |
37 class ProfileManager; | 38 class ProfileManager; |
38 class RenderWidgetSnapshotTaker; | 39 class RenderWidgetSnapshotTaker; |
39 class SafeBrowsingService; | 40 class SafeBrowsingService; |
40 class StatusTray; | 41 class StatusTray; |
41 class WatchDogThread; | 42 class WatchDogThread; |
42 | 43 |
43 namespace chrome { | 44 namespace chrome { |
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
211 #endif | 212 #endif |
212 | 213 |
213 virtual ChromeNetLog* net_log() = 0; | 214 virtual ChromeNetLog* net_log() = 0; |
214 | 215 |
215 virtual prerender::PrerenderTracker* prerender_tracker() = 0; | 216 virtual prerender::PrerenderTracker* prerender_tracker() = 0; |
216 | 217 |
217 virtual ComponentUpdateService* component_updater() = 0; | 218 virtual ComponentUpdateService* component_updater() = 0; |
218 | 219 |
219 virtual CRLSetFetcher* crl_set_fetcher() = 0; | 220 virtual CRLSetFetcher* crl_set_fetcher() = 0; |
220 | 221 |
| 222 virtual PnaclComponentInstaller* pnacl_component_installer() = 0; |
| 223 |
221 virtual BookmarkPromptController* bookmark_prompt_controller() = 0; | 224 virtual BookmarkPromptController* bookmark_prompt_controller() = 0; |
222 | 225 |
223 virtual chrome::MediaFileSystemRegistry* media_file_system_registry() = 0; | 226 virtual chrome::MediaFileSystemRegistry* media_file_system_registry() = 0; |
224 | 227 |
225 virtual void PlatformSpecificCommandLineProcessing( | 228 virtual void PlatformSpecificCommandLineProcessing( |
226 const CommandLine& command_line) = 0; | 229 const CommandLine& command_line) = 0; |
227 | 230 |
228 virtual bool created_local_state() const = 0; | 231 virtual bool created_local_state() const = 0; |
229 | 232 |
230 private: | 233 private: |
231 DISALLOW_COPY_AND_ASSIGN(BrowserProcess); | 234 DISALLOW_COPY_AND_ASSIGN(BrowserProcess); |
232 }; | 235 }; |
233 | 236 |
234 extern BrowserProcess* g_browser_process; | 237 extern BrowserProcess* g_browser_process; |
235 | 238 |
236 #endif // CHROME_BROWSER_BROWSER_PROCESS_H_ | 239 #endif // CHROME_BROWSER_BROWSER_PROCESS_H_ |
OLD | NEW |