| 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 // When each service is created, we set a flag indicating this. At this point, | 5 // When each service is created, we set a flag indicating this. At this point, |
| 6 // the service initialization could fail or succeed. This allows us to remember | 6 // the service initialization could fail or succeed. This allows us to remember |
| 7 // if we tried to create a service, and not try creating it over and over if | 7 // if we tried to create a service, and not try creating it over and over if |
| 8 // the creation failed. | 8 // the creation failed. |
| 9 | 9 |
| 10 #ifndef CHROME_BROWSER_BROWSER_PROCESS_IMPL_H_ | 10 #ifndef CHROME_BROWSER_BROWSER_PROCESS_IMPL_H_ |
| (...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 90 virtual unsigned int ReleaseModule(); | 90 virtual unsigned int ReleaseModule(); |
| 91 virtual bool IsShuttingDown(); | 91 virtual bool IsShuttingDown(); |
| 92 virtual printing::PrintJobManager* print_job_manager(); | 92 virtual printing::PrintJobManager* print_job_manager(); |
| 93 virtual printing::PrintPreviewTabController* print_preview_tab_controller(); | 93 virtual printing::PrintPreviewTabController* print_preview_tab_controller(); |
| 94 virtual printing::BackgroundPrintingManager* background_printing_manager(); | 94 virtual printing::BackgroundPrintingManager* background_printing_manager(); |
| 95 virtual GoogleURLTracker* google_url_tracker(); | 95 virtual GoogleURLTracker* google_url_tracker(); |
| 96 virtual IntranetRedirectDetector* intranet_redirect_detector(); | 96 virtual IntranetRedirectDetector* intranet_redirect_detector(); |
| 97 virtual const std::string& GetApplicationLocale(); | 97 virtual const std::string& GetApplicationLocale(); |
| 98 virtual void SetApplicationLocale(const std::string& locale); | 98 virtual void SetApplicationLocale(const std::string& locale); |
| 99 virtual DownloadStatusUpdater* download_status_updater(); | 99 virtual DownloadStatusUpdater* download_status_updater(); |
| 100 virtual DownloadRequestLimiter* download_request_limiter(); |
| 100 virtual TabCloseableStateWatcher* tab_closeable_state_watcher(); | 101 virtual TabCloseableStateWatcher* tab_closeable_state_watcher(); |
| 101 virtual BackgroundModeManager* background_mode_manager(); | 102 virtual BackgroundModeManager* background_mode_manager(); |
| 102 virtual StatusTray* status_tray(); | 103 virtual StatusTray* status_tray(); |
| 103 virtual SafeBrowsingService* safe_browsing_service(); | 104 virtual SafeBrowsingService* safe_browsing_service(); |
| 104 virtual safe_browsing::ClientSideDetectionService* | 105 virtual safe_browsing::ClientSideDetectionService* |
| 105 safe_browsing_detection_service(); | 106 safe_browsing_detection_service(); |
| 106 virtual bool plugin_finder_disabled() const; | 107 virtual bool plugin_finder_disabled() const; |
| 107 | 108 |
| 108 // NotificationObserver methods | 109 // NotificationObserver methods |
| 109 virtual void Observe(int type, | 110 virtual void Observe(int type, |
| (...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 275 | 276 |
| 276 // This service just sits around and makes thumbnails for tabs. It does | 277 // This service just sits around and makes thumbnails for tabs. It does |
| 277 // nothing in the constructor so we don't have to worry about lazy init. | 278 // nothing in the constructor so we don't have to worry about lazy init. |
| 278 ThumbnailGenerator thumbnail_generator_; | 279 ThumbnailGenerator thumbnail_generator_; |
| 279 | 280 |
| 280 // Download status updates (like a changing application icon on dock/taskbar) | 281 // Download status updates (like a changing application icon on dock/taskbar) |
| 281 // are global per-application. DownloadStatusUpdater does no work in the ctor | 282 // are global per-application. DownloadStatusUpdater does no work in the ctor |
| 282 // so we don't have to worry about lazy initialization. | 283 // so we don't have to worry about lazy initialization. |
| 283 DownloadStatusUpdater download_status_updater_; | 284 DownloadStatusUpdater download_status_updater_; |
| 284 | 285 |
| 286 scoped_refptr<DownloadRequestLimiter> download_request_limiter_; |
| 287 |
| 285 // Ensures that the observers of plugin/print disable/enable state | 288 // Ensures that the observers of plugin/print disable/enable state |
| 286 // notifications are properly added and removed. | 289 // notifications are properly added and removed. |
| 287 PrefChangeRegistrar pref_change_registrar_; | 290 PrefChangeRegistrar pref_change_registrar_; |
| 288 | 291 |
| 289 // Lives here so can safely log events on shutdown. | 292 // Lives here so can safely log events on shutdown. |
| 290 scoped_ptr<ChromeNetLog> net_log_; | 293 scoped_ptr<ChromeNetLog> net_log_; |
| 291 | 294 |
| 292 // Ordered before resource_dispatcher_host_delegate_ due to destruction | 295 // Ordered before resource_dispatcher_host_delegate_ due to destruction |
| 293 // ordering. | 296 // ordering. |
| 294 scoped_ptr<prerender::PrerenderTracker> prerender_tracker_; | 297 scoped_ptr<prerender::PrerenderTracker> prerender_tracker_; |
| (...skipping 29 matching lines...) Expand all Loading... |
| 324 scoped_refptr<GpuBlacklistUpdater> gpu_blacklist_updater_; | 327 scoped_refptr<GpuBlacklistUpdater> gpu_blacklist_updater_; |
| 325 | 328 |
| 326 #if !defined(OS_CHROMEOS) | 329 #if !defined(OS_CHROMEOS) |
| 327 scoped_ptr<ComponentUpdateService> component_updater_; | 330 scoped_ptr<ComponentUpdateService> component_updater_; |
| 328 #endif | 331 #endif |
| 329 | 332 |
| 330 DISALLOW_COPY_AND_ASSIGN(BrowserProcessImpl); | 333 DISALLOW_COPY_AND_ASSIGN(BrowserProcessImpl); |
| 331 }; | 334 }; |
| 332 | 335 |
| 333 #endif // CHROME_BROWSER_BROWSER_PROCESS_IMPL_H_ | 336 #endif // CHROME_BROWSER_BROWSER_PROCESS_IMPL_H_ |
| OLD | NEW |