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 | 16 |
17 class AutomationProviderList; | 17 class AutomationProviderList; |
18 class BackgroundModeManager; | 18 class BackgroundModeManager; |
19 class BookmarkPromptController; | 19 class BookmarkPromptController; |
20 class ChromeNetLog; | 20 class ChromeNetLog; |
| 21 class CommandLine; |
21 class CRLSetFetcher; | 22 class CRLSetFetcher; |
22 class ComponentUpdateService; | 23 class ComponentUpdateService; |
23 class DownloadRequestLimiter; | 24 class DownloadRequestLimiter; |
24 class DownloadStatusUpdater; | 25 class DownloadStatusUpdater; |
25 class IconManager; | 26 class IconManager; |
26 class IntranetRedirectDetector; | 27 class IntranetRedirectDetector; |
27 class IOThread; | 28 class IOThread; |
28 class MetricsService; | 29 class MetricsService; |
29 class NotificationUIManager; | 30 class NotificationUIManager; |
30 class PrefService; | 31 class PrefService; |
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
188 virtual ChromeNetLog* net_log() = 0; | 189 virtual ChromeNetLog* net_log() = 0; |
189 | 190 |
190 virtual prerender::PrerenderTracker* prerender_tracker() = 0; | 191 virtual prerender::PrerenderTracker* prerender_tracker() = 0; |
191 | 192 |
192 virtual ComponentUpdateService* component_updater() = 0; | 193 virtual ComponentUpdateService* component_updater() = 0; |
193 | 194 |
194 virtual CRLSetFetcher* crl_set_fetcher() = 0; | 195 virtual CRLSetFetcher* crl_set_fetcher() = 0; |
195 | 196 |
196 virtual BookmarkPromptController* bookmark_prompt_controller() = 0; | 197 virtual BookmarkPromptController* bookmark_prompt_controller() = 0; |
197 | 198 |
| 199 virtual void PlatformSpecificCommandLineProcessing( |
| 200 const CommandLine& command_line) = 0; |
| 201 |
198 private: | 202 private: |
199 DISALLOW_COPY_AND_ASSIGN(BrowserProcess); | 203 DISALLOW_COPY_AND_ASSIGN(BrowserProcess); |
200 }; | 204 }; |
201 | 205 |
202 extern BrowserProcess* g_browser_process; | 206 extern BrowserProcess* g_browser_process; |
203 | 207 |
204 #endif // CHROME_BROWSER_BROWSER_PROCESS_H_ | 208 #endif // CHROME_BROWSER_BROWSER_PROCESS_H_ |
OLD | NEW |