| 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 164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 195 virtual ChromeNetLog* net_log() = 0; | 196 virtual ChromeNetLog* net_log() = 0; |
| 196 | 197 |
| 197 virtual prerender::PrerenderTracker* prerender_tracker() = 0; | 198 virtual prerender::PrerenderTracker* prerender_tracker() = 0; |
| 198 | 199 |
| 199 virtual MHTMLGenerationManager* mhtml_generation_manager() = 0; | 200 virtual MHTMLGenerationManager* mhtml_generation_manager() = 0; |
| 200 | 201 |
| 201 virtual ComponentUpdateService* component_updater() = 0; | 202 virtual ComponentUpdateService* component_updater() = 0; |
| 202 | 203 |
| 203 virtual CRLSetFetcher* crl_set_fetcher() = 0; | 204 virtual CRLSetFetcher* crl_set_fetcher() = 0; |
| 204 | 205 |
| 206 virtual AudioManager* audio_manager() = 0; |
| 207 |
| 205 private: | 208 private: |
| 206 DISALLOW_COPY_AND_ASSIGN(BrowserProcess); | 209 DISALLOW_COPY_AND_ASSIGN(BrowserProcess); |
| 207 }; | 210 }; |
| 208 | 211 |
| 209 extern BrowserProcess* g_browser_process; | 212 extern BrowserProcess* g_browser_process; |
| 210 | 213 |
| 211 #endif // CHROME_BROWSER_BROWSER_PROCESS_H_ | 214 #endif // CHROME_BROWSER_BROWSER_PROCESS_H_ |
| OLD | NEW |