| 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 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 60 } | 60 } |
| 61 | 61 |
| 62 namespace extensions { | 62 namespace extensions { |
| 63 class EventRouterForwarder; | 63 class EventRouterForwarder; |
| 64 } | 64 } |
| 65 | 65 |
| 66 namespace gcm { | 66 namespace gcm { |
| 67 class GCMDriver; | 67 class GCMDriver; |
| 68 } | 68 } |
| 69 | 69 |
| 70 namespace memory { | |
| 71 class TabManager; | |
| 72 } | |
| 73 | |
| 74 namespace message_center { | 70 namespace message_center { |
| 75 class MessageCenter; | 71 class MessageCenter; |
| 76 } | 72 } |
| 77 | 73 |
| 78 namespace metrics { | 74 namespace metrics { |
| 79 class MetricsService; | 75 class MetricsService; |
| 80 } | 76 } |
| 81 | 77 |
| 82 namespace metrics_services_manager { | 78 namespace metrics_services_manager { |
| 83 class MetricsServicesManager; | 79 class MetricsServicesManager; |
| (...skipping 23 matching lines...) Expand all Loading... |
| 107 namespace printing { | 103 namespace printing { |
| 108 class BackgroundPrintingManager; | 104 class BackgroundPrintingManager; |
| 109 class PrintJobManager; | 105 class PrintJobManager; |
| 110 class PrintPreviewDialogController; | 106 class PrintPreviewDialogController; |
| 111 } | 107 } |
| 112 | 108 |
| 113 namespace rappor { | 109 namespace rappor { |
| 114 class RapporServiceImpl; | 110 class RapporServiceImpl; |
| 115 } | 111 } |
| 116 | 112 |
| 113 namespace resource_coordinator { |
| 114 class TabManager; |
| 115 } |
| 116 |
| 117 namespace safe_browsing { | 117 namespace safe_browsing { |
| 118 class ClientSideDetectionService; | 118 class ClientSideDetectionService; |
| 119 } | 119 } |
| 120 | 120 |
| 121 namespace ukm { | 121 namespace ukm { |
| 122 class UkmRecorder; | 122 class UkmRecorder; |
| 123 } | 123 } |
| 124 | 124 |
| 125 // NOT THREAD SAFE, call only from the main thread. | 125 // NOT THREAD SAFE, call only from the main thread. |
| 126 // These functions shouldn't return NULL unless otherwise noted. | 126 // These functions shouldn't return NULL unless otherwise noted. |
| (...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 271 | 271 |
| 272 #if BUILDFLAG(ENABLE_WEBRTC) | 272 #if BUILDFLAG(ENABLE_WEBRTC) |
| 273 virtual WebRtcLogUploader* webrtc_log_uploader() = 0; | 273 virtual WebRtcLogUploader* webrtc_log_uploader() = 0; |
| 274 #endif | 274 #endif |
| 275 | 275 |
| 276 virtual network_time::NetworkTimeTracker* network_time_tracker() = 0; | 276 virtual network_time::NetworkTimeTracker* network_time_tracker() = 0; |
| 277 | 277 |
| 278 virtual gcm::GCMDriver* gcm_driver() = 0; | 278 virtual gcm::GCMDriver* gcm_driver() = 0; |
| 279 | 279 |
| 280 // Returns the tab manager. On non-supported platforms, this returns null. | 280 // Returns the tab manager. On non-supported platforms, this returns null. |
| 281 virtual memory::TabManager* GetTabManager() = 0; | 281 virtual resource_coordinator::TabManager* GetTabManager() = 0; |
| 282 | 282 |
| 283 // Returns the default web client state of Chrome (i.e., was it the user's | 283 // Returns the default web client state of Chrome (i.e., was it the user's |
| 284 // default browser) at the time a previous check was made sometime between | 284 // default browser) at the time a previous check was made sometime between |
| 285 // process startup and now. | 285 // process startup and now. |
| 286 virtual shell_integration::DefaultWebClientState | 286 virtual shell_integration::DefaultWebClientState |
| 287 CachedDefaultWebClientState() = 0; | 287 CachedDefaultWebClientState() = 0; |
| 288 | 288 |
| 289 // Returns the Physical Web data source. | 289 // Returns the Physical Web data source. |
| 290 virtual physical_web::PhysicalWebDataSource* GetPhysicalWebDataSource() = 0; | 290 virtual physical_web::PhysicalWebDataSource* GetPhysicalWebDataSource() = 0; |
| 291 | 291 |
| 292 private: | 292 private: |
| 293 DISALLOW_COPY_AND_ASSIGN(BrowserProcess); | 293 DISALLOW_COPY_AND_ASSIGN(BrowserProcess); |
| 294 }; | 294 }; |
| 295 | 295 |
| 296 extern BrowserProcess* g_browser_process; | 296 extern BrowserProcess* g_browser_process; |
| 297 | 297 |
| 298 #endif // CHROME_BROWSER_BROWSER_PROCESS_H_ | 298 #endif // CHROME_BROWSER_BROWSER_PROCESS_H_ |
| OLD | NEW |