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 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 GoogleURLTracker; | 29 class GoogleURLTracker; |
30 class IconManager; | 30 class IconManager; |
31 class IntranetRedirectDetector; | 31 class IntranetRedirectDetector; |
32 class IOThread; | 32 class IOThread; |
33 class MetricsService; | 33 class MetricsService; |
34 class MHTMLGenerationManager; | |
35 class NotificationUIManager; | 34 class NotificationUIManager; |
36 class PrefService; | 35 class PrefService; |
37 class Profile; | 36 class Profile; |
38 class ProfileManager; | 37 class ProfileManager; |
39 class ResourceDispatcherHost; | 38 class ResourceDispatcherHost; |
40 class SafeBrowsingService; | 39 class SafeBrowsingService; |
41 class StatusTray; | 40 class StatusTray; |
42 class TabCloseableStateWatcher; | 41 class TabCloseableStateWatcher; |
43 class ThumbnailGenerator; | 42 class ThumbnailGenerator; |
44 class WatchDogThread; | 43 class WatchDogThread; |
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
194 // and add the command line key that will force Chrome to start in the | 193 // and add the command line key that will force Chrome to start in the |
195 // background mode. For the full list of "blacklisted" keys, refer to | 194 // background mode. For the full list of "blacklisted" keys, refer to |
196 // |kSwitchesToRemoveOnAutorestart| array in browser_process_impl.cc. | 195 // |kSwitchesToRemoveOnAutorestart| array in browser_process_impl.cc. |
197 virtual void StartAutoupdateTimer() = 0; | 196 virtual void StartAutoupdateTimer() = 0; |
198 #endif | 197 #endif |
199 | 198 |
200 virtual ChromeNetLog* net_log() = 0; | 199 virtual ChromeNetLog* net_log() = 0; |
201 | 200 |
202 virtual prerender::PrerenderTracker* prerender_tracker() = 0; | 201 virtual prerender::PrerenderTracker* prerender_tracker() = 0; |
203 | 202 |
204 virtual MHTMLGenerationManager* mhtml_generation_manager() = 0; | |
205 | |
206 virtual ComponentUpdateService* component_updater() = 0; | 203 virtual ComponentUpdateService* component_updater() = 0; |
207 | 204 |
208 virtual CRLSetFetcher* crl_set_fetcher() = 0; | 205 virtual CRLSetFetcher* crl_set_fetcher() = 0; |
209 | 206 |
210 private: | 207 private: |
211 DISALLOW_COPY_AND_ASSIGN(BrowserProcess); | 208 DISALLOW_COPY_AND_ASSIGN(BrowserProcess); |
212 }; | 209 }; |
213 | 210 |
214 extern BrowserProcess* g_browser_process; | 211 extern BrowserProcess* g_browser_process; |
215 | 212 |
216 #endif // CHROME_BROWSER_BROWSER_PROCESS_H_ | 213 #endif // CHROME_BROWSER_BROWSER_PROCESS_H_ |
OLD | NEW |