| 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 18 matching lines...) Expand all Loading... |
| 29 class IconManager; | 29 class IconManager; |
| 30 class IntranetRedirectDetector; | 30 class IntranetRedirectDetector; |
| 31 class IOThread; | 31 class IOThread; |
| 32 class MediaFileSystemRegistry; | 32 class MediaFileSystemRegistry; |
| 33 class MetricsService; | 33 class MetricsService; |
| 34 class NotificationUIManager; | 34 class NotificationUIManager; |
| 35 class PrefRegistrySimple; | 35 class PrefRegistrySimple; |
| 36 class PrefService; | 36 class PrefService; |
| 37 class Profile; | 37 class Profile; |
| 38 class ProfileManager; | 38 class ProfileManager; |
| 39 class RenderWidgetSnapshotTaker; | |
| 40 class SafeBrowsingService; | 39 class SafeBrowsingService; |
| 41 class StatusTray; | 40 class StatusTray; |
| 42 class StorageMonitor; | 41 class StorageMonitor; |
| 43 class WatchDogThread; | 42 class WatchDogThread; |
| 44 #if defined(ENABLE_WEBRTC) | 43 #if defined(ENABLE_WEBRTC) |
| 45 class WebRtcLogUploader; | 44 class WebRtcLogUploader; |
| 46 #endif | 45 #endif |
| 47 | 46 |
| 48 namespace chrome_variations { | 47 namespace chrome_variations { |
| 49 class VariationsService; | 48 class VariationsService; |
| (...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 138 // This is the main interface for chromium components to retrieve policy | 137 // This is the main interface for chromium components to retrieve policy |
| 139 // information from the policy system. | 138 // information from the policy system. |
| 140 virtual policy::PolicyService* policy_service() = 0; | 139 virtual policy::PolicyService* policy_service() = 0; |
| 141 | 140 |
| 142 virtual IconManager* icon_manager() = 0; | 141 virtual IconManager* icon_manager() = 0; |
| 143 | 142 |
| 144 virtual GLStringManager* gl_string_manager() = 0; | 143 virtual GLStringManager* gl_string_manager() = 0; |
| 145 | 144 |
| 146 virtual GpuModeManager* gpu_mode_manager() = 0; | 145 virtual GpuModeManager* gpu_mode_manager() = 0; |
| 147 | 146 |
| 148 virtual RenderWidgetSnapshotTaker* GetRenderWidgetSnapshotTaker() = 0; | |
| 149 | |
| 150 virtual AutomationProviderList* GetAutomationProviderList() = 0; | 147 virtual AutomationProviderList* GetAutomationProviderList() = 0; |
| 151 | 148 |
| 152 virtual void CreateDevToolsHttpProtocolHandler( | 149 virtual void CreateDevToolsHttpProtocolHandler( |
| 153 chrome::HostDesktopType host_desktop_type, | 150 chrome::HostDesktopType host_desktop_type, |
| 154 const std::string& ip, | 151 const std::string& ip, |
| 155 int port, | 152 int port, |
| 156 const std::string& frontend_url) = 0; | 153 const std::string& frontend_url) = 0; |
| 157 | 154 |
| 158 virtual unsigned int AddRefModule() = 0; | 155 virtual unsigned int AddRefModule() = 0; |
| 159 virtual unsigned int ReleaseModule() = 0; | 156 virtual unsigned int ReleaseModule() = 0; |
| (...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 227 virtual WebRtcLogUploader* webrtc_log_uploader() = 0; | 224 virtual WebRtcLogUploader* webrtc_log_uploader() = 0; |
| 228 #endif | 225 #endif |
| 229 | 226 |
| 230 private: | 227 private: |
| 231 DISALLOW_COPY_AND_ASSIGN(BrowserProcess); | 228 DISALLOW_COPY_AND_ASSIGN(BrowserProcess); |
| 232 }; | 229 }; |
| 233 | 230 |
| 234 extern BrowserProcess* g_browser_process; | 231 extern BrowserProcess* g_browser_process; |
| 235 | 232 |
| 236 #endif // CHROME_BROWSER_BROWSER_PROCESS_H_ | 233 #endif // CHROME_BROWSER_BROWSER_PROCESS_H_ |
| OLD | NEW |