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