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 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
155 void CreateBackgroundPrintingManager(); | 155 void CreateBackgroundPrintingManager(); |
156 void CreateSafeBrowsingService(); | 156 void CreateSafeBrowsingService(); |
157 void CreateSafeBrowsingDetectionService(); | 157 void CreateSafeBrowsingDetectionService(); |
158 void CreateStatusTray(); | 158 void CreateStatusTray(); |
159 void CreateBackgroundModeManager(); | 159 void CreateBackgroundModeManager(); |
160 void CreateGCMDriver(); | 160 void CreateGCMDriver(); |
161 | 161 |
162 void ApplyAllowCrossOriginAuthPromptPolicy(); | 162 void ApplyAllowCrossOriginAuthPromptPolicy(); |
163 void ApplyDefaultBrowserPolicy(); | 163 void ApplyDefaultBrowserPolicy(); |
164 void ApplyMetricsReportingPolicy(); | 164 void ApplyMetricsReportingPolicy(); |
| 165 void OnLanguagesChange(); |
165 | 166 |
166 scoped_ptr<MetricsServicesManager> metrics_services_manager_; | 167 scoped_ptr<MetricsServicesManager> metrics_services_manager_; |
167 | 168 |
168 scoped_ptr<IOThread> io_thread_; | 169 scoped_ptr<IOThread> io_thread_; |
169 | 170 |
170 bool created_watchdog_thread_; | 171 bool created_watchdog_thread_; |
171 scoped_ptr<WatchDogThread> watchdog_thread_; | 172 scoped_ptr<WatchDogThread> watchdog_thread_; |
172 | 173 |
173 bool created_browser_policy_connector_; | 174 bool created_browser_policy_connector_; |
174 #if defined(ENABLE_CONFIGURATION_POLICY) | 175 #if defined(ENABLE_CONFIGURATION_POLICY) |
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
241 scoped_ptr<DownloadStatusUpdater> download_status_updater_; | 242 scoped_ptr<DownloadStatusUpdater> download_status_updater_; |
242 | 243 |
243 scoped_refptr<DownloadRequestLimiter> download_request_limiter_; | 244 scoped_refptr<DownloadRequestLimiter> download_request_limiter_; |
244 | 245 |
245 // Sequenced task runner for local state related I/O tasks. | 246 // Sequenced task runner for local state related I/O tasks. |
246 const scoped_refptr<base::SequencedTaskRunner> local_state_task_runner_; | 247 const scoped_refptr<base::SequencedTaskRunner> local_state_task_runner_; |
247 | 248 |
248 // Ensures that the observers of plugin/print disable/enable state | 249 // Ensures that the observers of plugin/print disable/enable state |
249 // notifications are properly added and removed. | 250 // notifications are properly added and removed. |
250 PrefChangeRegistrar pref_change_registrar_; | 251 PrefChangeRegistrar pref_change_registrar_; |
| 252 PrefChangeRegistrar local_pref_change_registrar_; |
251 | 253 |
252 // Lives here so can safely log events on shutdown. | 254 // Lives here so can safely log events on shutdown. |
253 scoped_ptr<ChromeNetLog> net_log_; | 255 scoped_ptr<ChromeNetLog> net_log_; |
254 | 256 |
255 // Ordered before resource_dispatcher_host_delegate_ due to destruction | 257 // Ordered before resource_dispatcher_host_delegate_ due to destruction |
256 // ordering. | 258 // ordering. |
257 scoped_ptr<prerender::PrerenderTracker> prerender_tracker_; | 259 scoped_ptr<prerender::PrerenderTracker> prerender_tracker_; |
258 | 260 |
259 scoped_ptr<ChromeResourceDispatcherHostDelegate> | 261 scoped_ptr<ChromeResourceDispatcherHostDelegate> |
260 resource_dispatcher_host_delegate_; | 262 resource_dispatcher_host_delegate_; |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
302 scoped_ptr<gcm::GCMDriver> gcm_driver_; | 304 scoped_ptr<gcm::GCMDriver> gcm_driver_; |
303 | 305 |
304 #if !defined(OS_ANDROID) | 306 #if !defined(OS_ANDROID) |
305 scoped_ptr<ChromeDeviceClient> device_client_; | 307 scoped_ptr<ChromeDeviceClient> device_client_; |
306 #endif | 308 #endif |
307 | 309 |
308 DISALLOW_COPY_AND_ASSIGN(BrowserProcessImpl); | 310 DISALLOW_COPY_AND_ASSIGN(BrowserProcessImpl); |
309 }; | 311 }; |
310 | 312 |
311 #endif // CHROME_BROWSER_BROWSER_PROCESS_IMPL_H_ | 313 #endif // CHROME_BROWSER_BROWSER_PROCESS_IMPL_H_ |
OLD | NEW |