| 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 AudioManager; |
| 21 class AutomationProviderList; | 22 class AutomationProviderList; |
| 22 class BackgroundModeManager; | 23 class BackgroundModeManager; |
| 23 class ChromeNetLog; | 24 class ChromeNetLog; |
| 24 class CRLSetFetcher; | 25 class CRLSetFetcher; |
| 25 class ComponentUpdateService; | 26 class ComponentUpdateService; |
| 26 class DownloadRequestLimiter; | 27 class DownloadRequestLimiter; |
| 27 class DownloadStatusUpdater; | 28 class DownloadStatusUpdater; |
| 28 class ExtensionEventRouterForwarder; | 29 class ExtensionEventRouterForwarder; |
| 29 class GoogleURLTracker; | 30 class GoogleURLTracker; |
| 30 class IconManager; | 31 class IconManager; |
| (...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 215 virtual ChromeNetLog* net_log() = 0; | 216 virtual ChromeNetLog* net_log() = 0; |
| 216 | 217 |
| 217 virtual prerender::PrerenderTracker* prerender_tracker() = 0; | 218 virtual prerender::PrerenderTracker* prerender_tracker() = 0; |
| 218 | 219 |
| 219 virtual MHTMLGenerationManager* mhtml_generation_manager() = 0; | 220 virtual MHTMLGenerationManager* mhtml_generation_manager() = 0; |
| 220 | 221 |
| 221 virtual ComponentUpdateService* component_updater() = 0; | 222 virtual ComponentUpdateService* component_updater() = 0; |
| 222 | 223 |
| 223 virtual CRLSetFetcher* crl_set_fetcher() = 0; | 224 virtual CRLSetFetcher* crl_set_fetcher() = 0; |
| 224 | 225 |
| 226 virtual AudioManager* audio_manager() = 0; |
| 227 |
| 225 private: | 228 private: |
| 226 DISALLOW_COPY_AND_ASSIGN(BrowserProcess); | 229 DISALLOW_COPY_AND_ASSIGN(BrowserProcess); |
| 227 }; | 230 }; |
| 228 | 231 |
| 229 extern BrowserProcess* g_browser_process; | 232 extern BrowserProcess* g_browser_process; |
| 230 | 233 |
| 231 #endif // CHROME_BROWSER_BROWSER_PROCESS_H_ | 234 #endif // CHROME_BROWSER_BROWSER_PROCESS_H_ |
| OLD | NEW |