| 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 // 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 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 116 #if (defined(OS_WIN) || defined(OS_LINUX)) && !defined(OS_CHROMEOS) | 116 #if (defined(OS_WIN) || defined(OS_LINUX)) && !defined(OS_CHROMEOS) |
| 117 virtual void StartAutoupdateTimer() OVERRIDE; | 117 virtual void StartAutoupdateTimer() OVERRIDE; |
| 118 #endif | 118 #endif |
| 119 | 119 |
| 120 virtual ChromeNetLog* net_log() OVERRIDE; | 120 virtual ChromeNetLog* net_log() OVERRIDE; |
| 121 virtual prerender::PrerenderTracker* prerender_tracker() OVERRIDE; | 121 virtual prerender::PrerenderTracker* prerender_tracker() OVERRIDE; |
| 122 virtual ComponentUpdateService* component_updater() OVERRIDE; | 122 virtual ComponentUpdateService* component_updater() OVERRIDE; |
| 123 virtual CRLSetFetcher* crl_set_fetcher() OVERRIDE; | 123 virtual CRLSetFetcher* crl_set_fetcher() OVERRIDE; |
| 124 virtual PnaclComponentInstaller* pnacl_component_installer() OVERRIDE; | 124 virtual PnaclComponentInstaller* pnacl_component_installer() OVERRIDE; |
| 125 virtual BookmarkPromptController* bookmark_prompt_controller() OVERRIDE; | 125 virtual BookmarkPromptController* bookmark_prompt_controller() OVERRIDE; |
| 126 virtual chrome::StorageMonitor* storage_monitor() OVERRIDE; | 126 virtual StorageMonitor* storage_monitor() OVERRIDE; |
| 127 void set_storage_monitor_for_test(scoped_ptr<chrome::StorageMonitor> monitor); | 127 void set_storage_monitor_for_test(scoped_ptr<StorageMonitor> monitor); |
| 128 virtual chrome::MediaFileSystemRegistry* | 128 virtual MediaFileSystemRegistry* media_file_system_registry() OVERRIDE; |
| 129 media_file_system_registry() OVERRIDE; | |
| 130 virtual bool created_local_state() const OVERRIDE; | 129 virtual bool created_local_state() const OVERRIDE; |
| 131 #if defined(ENABLE_WEBRTC) | 130 #if defined(ENABLE_WEBRTC) |
| 132 virtual WebRtcLogUploader* webrtc_log_uploader() OVERRIDE; | 131 virtual WebRtcLogUploader* webrtc_log_uploader() OVERRIDE; |
| 133 #endif | 132 #endif |
| 134 | 133 |
| 135 static void RegisterPrefs(PrefRegistrySimple* registry); | 134 static void RegisterPrefs(PrefRegistrySimple* registry); |
| 136 | 135 |
| 137 private: | 136 private: |
| 138 void CreateMetricsService(); | 137 void CreateMetricsService(); |
| 139 void CreateWatchdogThread(); | 138 void CreateWatchdogThread(); |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 190 extension_event_router_forwarder_; | 189 extension_event_router_forwarder_; |
| 191 | 190 |
| 192 #if !defined(OS_ANDROID) | 191 #if !defined(OS_ANDROID) |
| 193 scoped_ptr<RemoteDebuggingServer> remote_debugging_server_; | 192 scoped_ptr<RemoteDebuggingServer> remote_debugging_server_; |
| 194 | 193 |
| 195 // Bookmark prompt controller displays the prompt for frequently visited URL. | 194 // Bookmark prompt controller displays the prompt for frequently visited URL. |
| 196 scoped_ptr<BookmarkPromptController> bookmark_prompt_controller_; | 195 scoped_ptr<BookmarkPromptController> bookmark_prompt_controller_; |
| 197 #endif | 196 #endif |
| 198 | 197 |
| 199 #if !defined(OS_ANDROID) && !defined(OS_IOS) | 198 #if !defined(OS_ANDROID) && !defined(OS_IOS) |
| 200 scoped_ptr<chrome::StorageMonitor> storage_monitor_; | 199 scoped_ptr<StorageMonitor> storage_monitor_; |
| 201 | 200 |
| 202 scoped_ptr<chrome::MediaFileSystemRegistry> media_file_system_registry_; | 201 scoped_ptr<MediaFileSystemRegistry> media_file_system_registry_; |
| 203 #endif | 202 #endif |
| 204 | 203 |
| 205 scoped_refptr<printing::PrintPreviewDialogController> | 204 scoped_refptr<printing::PrintPreviewDialogController> |
| 206 print_preview_dialog_controller_; | 205 print_preview_dialog_controller_; |
| 207 | 206 |
| 208 scoped_ptr<printing::BackgroundPrintingManager> background_printing_manager_; | 207 scoped_ptr<printing::BackgroundPrintingManager> background_printing_manager_; |
| 209 | 208 |
| 210 scoped_ptr<chrome_variations::VariationsService> variations_service_; | 209 scoped_ptr<chrome_variations::VariationsService> variations_service_; |
| 211 | 210 |
| 212 // Manager for desktop notification UI. | 211 // Manager for desktop notification UI. |
| (...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 296 | 295 |
| 297 #if defined(ENABLE_WEBRTC) | 296 #if defined(ENABLE_WEBRTC) |
| 298 // Lazily initialized. | 297 // Lazily initialized. |
| 299 scoped_ptr<WebRtcLogUploader> webrtc_log_uploader_; | 298 scoped_ptr<WebRtcLogUploader> webrtc_log_uploader_; |
| 300 #endif | 299 #endif |
| 301 | 300 |
| 302 DISALLOW_COPY_AND_ASSIGN(BrowserProcessImpl); | 301 DISALLOW_COPY_AND_ASSIGN(BrowserProcessImpl); |
| 303 }; | 302 }; |
| 304 | 303 |
| 305 #endif // CHROME_BROWSER_BROWSER_PROCESS_IMPL_H_ | 304 #endif // CHROME_BROWSER_BROWSER_PROCESS_IMPL_H_ |
| OLD | NEW |