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 14 matching lines...) Expand all Loading... |
25 class DownloadRequestLimiter; | 25 class DownloadRequestLimiter; |
26 class DownloadStatusUpdater; | 26 class DownloadStatusUpdater; |
27 class GpuModeManager; | 27 class GpuModeManager; |
28 class GpuProfileCache; | 28 class GpuProfileCache; |
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 NotificationPlatformBridge; | 33 class NotificationPlatformBridge; |
34 class NotificationUIManager; | 34 class NotificationUIManager; |
| 35 class PhysicalWebDataSource; |
35 class PrefRegistrySimple; | 36 class PrefRegistrySimple; |
36 class PrefService; | 37 class PrefService; |
37 class Profile; | 38 class Profile; |
38 class ProfileManager; | 39 class ProfileManager; |
39 class StatusTray; | 40 class StatusTray; |
40 class WatchDogThread; | 41 class WatchDogThread; |
41 #if defined(ENABLE_WEBRTC) | 42 #if defined(ENABLE_WEBRTC) |
42 class WebRtcLogUploader; | 43 class WebRtcLogUploader; |
43 #endif | 44 #endif |
44 | 45 |
(...skipping 226 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
271 | 272 |
272 // Returns the tab manager. On non-supported platforms, this returns null. | 273 // Returns the tab manager. On non-supported platforms, this returns null. |
273 virtual memory::TabManager* GetTabManager() = 0; | 274 virtual memory::TabManager* GetTabManager() = 0; |
274 | 275 |
275 // Returns the default web client state of Chrome (i.e., was it the user's | 276 // Returns the default web client state of Chrome (i.e., was it the user's |
276 // default browser) at the time a previous check was made sometime between | 277 // default browser) at the time a previous check was made sometime between |
277 // process startup and now. | 278 // process startup and now. |
278 virtual shell_integration::DefaultWebClientState | 279 virtual shell_integration::DefaultWebClientState |
279 CachedDefaultWebClientState() = 0; | 280 CachedDefaultWebClientState() = 0; |
280 | 281 |
| 282 // Returns the Physical Web data source. |
| 283 virtual PhysicalWebDataSource* GetPhysicalWebDataSource() = 0; |
| 284 |
281 private: | 285 private: |
282 DISALLOW_COPY_AND_ASSIGN(BrowserProcess); | 286 DISALLOW_COPY_AND_ASSIGN(BrowserProcess); |
283 }; | 287 }; |
284 | 288 |
285 extern BrowserProcess* g_browser_process; | 289 extern BrowserProcess* g_browser_process; |
286 | 290 |
287 #endif // CHROME_BROWSER_BROWSER_PROCESS_H_ | 291 #endif // CHROME_BROWSER_BROWSER_PROCESS_H_ |
OLD | NEW |