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 #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 AudioManager; | |
22 class AutomationProviderList; | 21 class AutomationProviderList; |
23 class BackgroundModeManager; | 22 class BackgroundModeManager; |
24 class ChromeNetLog; | 23 class ChromeNetLog; |
25 class CRLSetFetcher; | 24 class CRLSetFetcher; |
26 class ComponentUpdateService; | 25 class ComponentUpdateService; |
27 class DownloadRequestLimiter; | 26 class DownloadRequestLimiter; |
28 class DownloadStatusUpdater; | 27 class DownloadStatusUpdater; |
29 class ExtensionEventRouterForwarder; | 28 class ExtensionEventRouterForwarder; |
30 class GoogleURLTracker; | 29 class GoogleURLTracker; |
31 class IconManager; | 30 class IconManager; |
(...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
201 virtual ChromeNetLog* net_log() = 0; | 200 virtual ChromeNetLog* net_log() = 0; |
202 | 201 |
203 virtual prerender::PrerenderTracker* prerender_tracker() = 0; | 202 virtual prerender::PrerenderTracker* prerender_tracker() = 0; |
204 | 203 |
205 virtual MHTMLGenerationManager* mhtml_generation_manager() = 0; | 204 virtual MHTMLGenerationManager* mhtml_generation_manager() = 0; |
206 | 205 |
207 virtual ComponentUpdateService* component_updater() = 0; | 206 virtual ComponentUpdateService* component_updater() = 0; |
208 | 207 |
209 virtual CRLSetFetcher* crl_set_fetcher() = 0; | 208 virtual CRLSetFetcher* crl_set_fetcher() = 0; |
210 | 209 |
211 virtual AudioManager* audio_manager() = 0; | |
212 | |
213 private: | 210 private: |
214 DISALLOW_COPY_AND_ASSIGN(BrowserProcess); | 211 DISALLOW_COPY_AND_ASSIGN(BrowserProcess); |
215 }; | 212 }; |
216 | 213 |
217 extern BrowserProcess* g_browser_process; | 214 extern BrowserProcess* g_browser_process; |
218 | 215 |
219 #endif // CHROME_BROWSER_BROWSER_PROCESS_H_ | 216 #endif // CHROME_BROWSER_BROWSER_PROCESS_H_ |
OLD | NEW |