| 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 251 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 262 virtual bool created_local_state() const = 0; | 262 virtual bool created_local_state() const = 0; |
| 263 | 263 |
| 264 #if defined(ENABLE_WEBRTC) | 264 #if defined(ENABLE_WEBRTC) |
| 265 virtual WebRtcLogUploader* webrtc_log_uploader() = 0; | 265 virtual WebRtcLogUploader* webrtc_log_uploader() = 0; |
| 266 #endif | 266 #endif |
| 267 | 267 |
| 268 virtual network_time::NetworkTimeTracker* network_time_tracker() = 0; | 268 virtual network_time::NetworkTimeTracker* network_time_tracker() = 0; |
| 269 | 269 |
| 270 virtual gcm::GCMDriver* gcm_driver() = 0; | 270 virtual gcm::GCMDriver* gcm_driver() = 0; |
| 271 | 271 |
| 272 // Returns the tab manager if it exists, null otherwise. | 272 // Returns the tab manager. On non-supported platforms, this returns null. |
| 273 virtual memory::TabManager* GetTabManager() = 0; | 273 virtual memory::TabManager* GetTabManager() = 0; |
| 274 | 274 |
| 275 // Returns the default web client state of Chrome (i.e., was it the user's | 275 // 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 | 276 // default browser) at the time a previous check was made sometime between |
| 277 // process startup and now. | 277 // process startup and now. |
| 278 virtual shell_integration::DefaultWebClientState | 278 virtual shell_integration::DefaultWebClientState |
| 279 CachedDefaultWebClientState() = 0; | 279 CachedDefaultWebClientState() = 0; |
| 280 | 280 |
| 281 private: | 281 private: |
| 282 DISALLOW_COPY_AND_ASSIGN(BrowserProcess); | 282 DISALLOW_COPY_AND_ASSIGN(BrowserProcess); |
| 283 }; | 283 }; |
| 284 | 284 |
| 285 extern BrowserProcess* g_browser_process; | 285 extern BrowserProcess* g_browser_process; |
| 286 | 286 |
| 287 #endif // CHROME_BROWSER_BROWSER_PROCESS_H_ | 287 #endif // CHROME_BROWSER_BROWSER_PROCESS_H_ |
| OLD | NEW |