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