Chromium Code Reviews| 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 | 12 |
| 13 #include <string> | 13 #include <string> |
| 14 | 14 |
| 15 #include "base/basictypes.h" | 15 #include "base/basictypes.h" |
| 16 #include "chrome/browser/ui/host_desktop.h" | 16 #include "chrome/browser/ui/host_desktop.h" |
| 17 | 17 |
| 18 class AutomationProviderList; | 18 class AutomationProviderList; |
| 19 class BackgroundModeManager; | 19 class BackgroundModeManager; |
| 20 class BookmarkPromptController; | 20 class BookmarkPromptController; |
| 21 class ChromeNetLog; | 21 class ChromeNetLog; |
| 22 class CommandLine; | 22 class CommandLine; |
| 23 class CRLSetFetcher; | 23 class CRLSetFetcher; |
| 24 class ColorChooserController; | |
| 24 class ComponentUpdateService; | 25 class ComponentUpdateService; |
| 25 class DownloadRequestLimiter; | 26 class DownloadRequestLimiter; |
| 26 class DownloadStatusUpdater; | 27 class DownloadStatusUpdater; |
| 27 class GLStringManager; | 28 class GLStringManager; |
| 28 class GpuModeManager; | 29 class GpuModeManager; |
| 29 class IconManager; | 30 class IconManager; |
| 30 class IntranetRedirectDetector; | 31 class IntranetRedirectDetector; |
| 31 class IOThread; | 32 class IOThread; |
| 32 class MetricsService; | 33 class MetricsService; |
| 33 class NotificationUIManager; | 34 class NotificationUIManager; |
| (...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 213 virtual ChromeNetLog* net_log() = 0; | 214 virtual ChromeNetLog* net_log() = 0; |
| 214 | 215 |
| 215 virtual prerender::PrerenderTracker* prerender_tracker() = 0; | 216 virtual prerender::PrerenderTracker* prerender_tracker() = 0; |
| 216 | 217 |
| 217 virtual ComponentUpdateService* component_updater() = 0; | 218 virtual ComponentUpdateService* component_updater() = 0; |
| 218 | 219 |
| 219 virtual CRLSetFetcher* crl_set_fetcher() = 0; | 220 virtual CRLSetFetcher* crl_set_fetcher() = 0; |
| 220 | 221 |
| 221 virtual BookmarkPromptController* bookmark_prompt_controller() = 0; | 222 virtual BookmarkPromptController* bookmark_prompt_controller() = 0; |
| 222 | 223 |
| 224 virtual ColorChooserController* color_chooser_controller() = 0; | |
|
Ben Goodger (Google)
2013/03/29 14:56:50
BrowserProcess is a Chrome aggregation type of doo
| |
| 225 | |
| 223 virtual chrome::MediaFileSystemRegistry* media_file_system_registry() = 0; | 226 virtual chrome::MediaFileSystemRegistry* media_file_system_registry() = 0; |
| 224 | 227 |
| 225 virtual void PlatformSpecificCommandLineProcessing( | 228 virtual void PlatformSpecificCommandLineProcessing( |
| 226 const CommandLine& command_line) = 0; | 229 const CommandLine& command_line) = 0; |
| 227 | 230 |
| 228 virtual bool created_local_state() const = 0; | 231 virtual bool created_local_state() const = 0; |
| 229 | 232 |
| 230 private: | 233 private: |
| 231 DISALLOW_COPY_AND_ASSIGN(BrowserProcess); | 234 DISALLOW_COPY_AND_ASSIGN(BrowserProcess); |
| 232 }; | 235 }; |
| 233 | 236 |
| 234 extern BrowserProcess* g_browser_process; | 237 extern BrowserProcess* g_browser_process; |
| 235 | 238 |
| 236 #endif // CHROME_BROWSER_BROWSER_PROCESS_H_ | 239 #endif // CHROME_BROWSER_BROWSER_PROCESS_H_ |
| OLD | NEW |