| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 177 background_printing_manager() = 0; | 177 background_printing_manager() = 0; |
| 178 | 178 |
| 179 virtual GoogleURLTracker* google_url_tracker() = 0; | 179 virtual GoogleURLTracker* google_url_tracker() = 0; |
| 180 virtual IntranetRedirectDetector* intranet_redirect_detector() = 0; | 180 virtual IntranetRedirectDetector* intranet_redirect_detector() = 0; |
| 181 | 181 |
| 182 // Returns the locale used by the application. | 182 // Returns the locale used by the application. |
| 183 virtual const std::string& GetApplicationLocale() = 0; | 183 virtual const std::string& GetApplicationLocale() = 0; |
| 184 virtual void SetApplicationLocale(const std::string& locale) = 0; | 184 virtual void SetApplicationLocale(const std::string& locale) = 0; |
| 185 | 185 |
| 186 virtual DownloadStatusUpdater* download_status_updater() = 0; | 186 virtual DownloadStatusUpdater* download_status_updater() = 0; |
| 187 virtual DownloadRequestLimiter* download_request_limiter() = 0; |
| 187 | 188 |
| 188 // Returns the object that watches for changes in the closeable state of tab. | 189 // Returns the object that watches for changes in the closeable state of tab. |
| 189 virtual TabCloseableStateWatcher* tab_closeable_state_watcher() = 0; | 190 virtual TabCloseableStateWatcher* tab_closeable_state_watcher() = 0; |
| 190 | 191 |
| 191 // Returns the object that manages background applications. | 192 // Returns the object that manages background applications. |
| 192 virtual BackgroundModeManager* background_mode_manager() = 0; | 193 virtual BackgroundModeManager* background_mode_manager() = 0; |
| 193 | 194 |
| 194 // Returns the StatusTray, which provides an API for displaying status icons | 195 // Returns the StatusTray, which provides an API for displaying status icons |
| 195 // in the system status tray. Returns NULL if status icons are not supported | 196 // in the system status tray. Returns NULL if status icons are not supported |
| 196 // on this platform (or this is a unit test). | 197 // on this platform (or this is a unit test). |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 247 private: | 248 private: |
| 248 // Used for testing plugin data removal at shutdown. | 249 // Used for testing plugin data removal at shutdown. |
| 249 std::string plugin_data_remover_mime_type_; | 250 std::string plugin_data_remover_mime_type_; |
| 250 | 251 |
| 251 DISALLOW_COPY_AND_ASSIGN(BrowserProcess); | 252 DISALLOW_COPY_AND_ASSIGN(BrowserProcess); |
| 252 }; | 253 }; |
| 253 | 254 |
| 254 extern BrowserProcess* g_browser_process; | 255 extern BrowserProcess* g_browser_process; |
| 255 | 256 |
| 256 #endif // CHROME_BROWSER_BROWSER_PROCESS_H_ | 257 #endif // CHROME_BROWSER_BROWSER_PROCESS_H_ |
| OLD | NEW |