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; |
23 class CRLSetFetcher; | 24 class CRLSetFetcher; |
24 class ComponentUpdateService; | 25 class ComponentUpdateService; |
25 class DownloadRequestLimiter; | 26 class DownloadRequestLimiter; |
26 class DownloadStatusUpdater; | 27 class DownloadStatusUpdater; |
27 class GLStringManager; | 28 class GLStringManager; |
28 class GpuModeManager; | 29 class GpuModeManager; |
29 class IconManager; | 30 class IconManager; |
30 class IntranetRedirectDetector; | 31 class IntranetRedirectDetector; |
31 class IOThread; | 32 class IOThread; |
32 class MetricsService; | 33 class MetricsService; |
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
205 virtual ComponentUpdateService* component_updater() = 0; | 206 virtual ComponentUpdateService* component_updater() = 0; |
206 | 207 |
207 virtual CRLSetFetcher* crl_set_fetcher() = 0; | 208 virtual CRLSetFetcher* crl_set_fetcher() = 0; |
208 | 209 |
209 virtual PnaclComponentInstaller* pnacl_component_installer() = 0; | 210 virtual PnaclComponentInstaller* pnacl_component_installer() = 0; |
210 | 211 |
211 virtual BookmarkPromptController* bookmark_prompt_controller() = 0; | 212 virtual BookmarkPromptController* bookmark_prompt_controller() = 0; |
212 | 213 |
213 virtual chrome::MediaFileSystemRegistry* media_file_system_registry() = 0; | 214 virtual chrome::MediaFileSystemRegistry* media_file_system_registry() = 0; |
214 | 215 |
| 216 virtual void PlatformSpecificCommandLineProcessing( |
| 217 const CommandLine& command_line) = 0; |
| 218 |
215 virtual bool created_local_state() const = 0; | 219 virtual bool created_local_state() const = 0; |
216 | 220 |
| 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 |
217 private: | 226 private: |
218 DISALLOW_COPY_AND_ASSIGN(BrowserProcess); | 227 DISALLOW_COPY_AND_ASSIGN(BrowserProcess); |
219 }; | 228 }; |
220 | 229 |
221 extern BrowserProcess* g_browser_process; | 230 extern BrowserProcess* g_browser_process; |
222 | 231 |
223 #endif // CHROME_BROWSER_BROWSER_PROCESS_H_ | 232 #endif // CHROME_BROWSER_BROWSER_PROCESS_H_ |
OLD | NEW |