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_ |
11 #define CHROME_BROWSER_BROWSER_PROCESS_H_ | 11 #define CHROME_BROWSER_BROWSER_PROCESS_H_ |
12 | 12 |
13 #include <string> | 13 #include <string> |
14 | 14 |
15 #include "base/basictypes.h" | 15 #include "base/basictypes.h" |
16 #include "chrome/browser/ui/host_desktop.h" | 16 #include "chrome/browser/ui/host_desktop.h" |
17 | 17 |
18 class AutomationProviderList; | 18 class AutomationProviderList; |
19 class BackgroundModeManager; | 19 class BackgroundModeManager; |
20 class BookmarkPromptController; | 20 class BookmarkPromptController; |
21 class BrowserProcessPlatformPart; | 21 class BrowserProcessPlatformPart; |
22 class ChromeNetLog; | 22 class ChromeNetLog; |
23 class CommandLine; | |
24 class CRLSetFetcher; | 23 class CRLSetFetcher; |
25 class ComponentUpdateService; | 24 class ComponentUpdateService; |
26 class DownloadRequestLimiter; | 25 class DownloadRequestLimiter; |
27 class DownloadStatusUpdater; | 26 class DownloadStatusUpdater; |
28 class GLStringManager; | 27 class GLStringManager; |
29 class GpuModeManager; | 28 class GpuModeManager; |
30 class IconManager; | 29 class IconManager; |
31 class IntranetRedirectDetector; | 30 class IntranetRedirectDetector; |
32 class IOThread; | 31 class IOThread; |
33 class MetricsService; | 32 class MetricsService; |
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
206 virtual ComponentUpdateService* component_updater() = 0; | 205 virtual ComponentUpdateService* component_updater() = 0; |
207 | 206 |
208 virtual CRLSetFetcher* crl_set_fetcher() = 0; | 207 virtual CRLSetFetcher* crl_set_fetcher() = 0; |
209 | 208 |
210 virtual PnaclComponentInstaller* pnacl_component_installer() = 0; | 209 virtual PnaclComponentInstaller* pnacl_component_installer() = 0; |
211 | 210 |
212 virtual BookmarkPromptController* bookmark_prompt_controller() = 0; | 211 virtual BookmarkPromptController* bookmark_prompt_controller() = 0; |
213 | 212 |
214 virtual chrome::MediaFileSystemRegistry* media_file_system_registry() = 0; | 213 virtual chrome::MediaFileSystemRegistry* media_file_system_registry() = 0; |
215 | 214 |
216 virtual void PlatformSpecificCommandLineProcessing( | |
217 const CommandLine& command_line) = 0; | |
218 | |
219 virtual bool created_local_state() const = 0; | 215 virtual bool created_local_state() const = 0; |
220 | 216 |
221 #if defined(OS_WIN) && defined(USE_AURA) | |
222 // Invoked when the ASH metro viewer process on Windows 8 exits. | |
223 virtual void OnMetroViewerProcessTerminated() = 0; | |
224 #endif | |
225 | |
226 private: | 217 private: |
227 DISALLOW_COPY_AND_ASSIGN(BrowserProcess); | 218 DISALLOW_COPY_AND_ASSIGN(BrowserProcess); |
228 }; | 219 }; |
229 | 220 |
230 extern BrowserProcess* g_browser_process; | 221 extern BrowserProcess* g_browser_process; |
231 | 222 |
232 #endif // CHROME_BROWSER_BROWSER_PROCESS_H_ | 223 #endif // CHROME_BROWSER_BROWSER_PROCESS_H_ |
OLD | NEW |