OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 #pragma once | 12 #pragma once |
13 | 13 |
14 #include <string> | 14 #include <string> |
15 #include <vector> | 15 #include <vector> |
16 | 16 |
17 #include "base/basictypes.h" | 17 #include "base/basictypes.h" |
18 #include "base/memory/ref_counted.h" | 18 #include "base/memory/ref_counted.h" |
19 #include "ipc/ipc_message.h" | 19 #include "ipc/ipc_message.h" |
20 | 20 |
21 class AutomationProviderList; | 21 class AutomationProviderList; |
22 class BackgroundModeManager; | 22 class BackgroundModeManager; |
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 ExtensionEventRouterForwarder; | 28 class ExtensionEventRouterForwarder; |
29 class GpuBlacklistUpdater; | |
30 class GoogleURLTracker; | 29 class GoogleURLTracker; |
31 class IconManager; | 30 class IconManager; |
32 class IntranetRedirectDetector; | 31 class IntranetRedirectDetector; |
33 class IOThread; | 32 class IOThread; |
34 class MetricsService; | 33 class MetricsService; |
35 class MHTMLGenerationManager; | 34 class MHTMLGenerationManager; |
36 class NotificationUIManager; | 35 class NotificationUIManager; |
37 class PrefService; | 36 class PrefService; |
38 class Profile; | 37 class Profile; |
39 class ProfileManager; | 38 class ProfileManager; |
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
212 // |kSwitchesToRemoveOnAutorestart| array in browser_process_impl.cc. | 211 // |kSwitchesToRemoveOnAutorestart| array in browser_process_impl.cc. |
213 virtual void StartAutoupdateTimer() = 0; | 212 virtual void StartAutoupdateTimer() = 0; |
214 #endif | 213 #endif |
215 | 214 |
216 virtual ChromeNetLog* net_log() = 0; | 215 virtual ChromeNetLog* net_log() = 0; |
217 | 216 |
218 virtual prerender::PrerenderTracker* prerender_tracker() = 0; | 217 virtual prerender::PrerenderTracker* prerender_tracker() = 0; |
219 | 218 |
220 virtual MHTMLGenerationManager* mhtml_generation_manager() = 0; | 219 virtual MHTMLGenerationManager* mhtml_generation_manager() = 0; |
221 | 220 |
222 virtual GpuBlacklistUpdater* gpu_blacklist_updater() = 0; | |
223 | |
224 virtual ComponentUpdateService* component_updater() = 0; | 221 virtual ComponentUpdateService* component_updater() = 0; |
225 | 222 |
226 virtual CRLSetFetcher* crl_set_fetcher() = 0; | 223 virtual CRLSetFetcher* crl_set_fetcher() = 0; |
227 | 224 |
228 private: | 225 private: |
229 DISALLOW_COPY_AND_ASSIGN(BrowserProcess); | 226 DISALLOW_COPY_AND_ASSIGN(BrowserProcess); |
230 }; | 227 }; |
231 | 228 |
232 extern BrowserProcess* g_browser_process; | 229 extern BrowserProcess* g_browser_process; |
233 | 230 |
234 #endif // CHROME_BROWSER_BROWSER_PROCESS_H_ | 231 #endif // CHROME_BROWSER_BROWSER_PROCESS_H_ |
OLD | NEW |