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 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
125 virtual component_updater::ComponentUpdateService* | 125 virtual component_updater::ComponentUpdateService* |
126 component_updater() OVERRIDE; | 126 component_updater() OVERRIDE; |
127 virtual CRLSetFetcher* crl_set_fetcher() OVERRIDE; | 127 virtual CRLSetFetcher* crl_set_fetcher() OVERRIDE; |
128 virtual component_updater::PnaclComponentInstaller* | 128 virtual component_updater::PnaclComponentInstaller* |
129 pnacl_component_installer() OVERRIDE; | 129 pnacl_component_installer() OVERRIDE; |
130 virtual MediaFileSystemRegistry* media_file_system_registry() OVERRIDE; | 130 virtual MediaFileSystemRegistry* media_file_system_registry() OVERRIDE; |
131 virtual bool created_local_state() const OVERRIDE; | 131 virtual bool created_local_state() const OVERRIDE; |
132 #if defined(ENABLE_WEBRTC) | 132 #if defined(ENABLE_WEBRTC) |
133 virtual WebRtcLogUploader* webrtc_log_uploader() OVERRIDE; | 133 virtual WebRtcLogUploader* webrtc_log_uploader() OVERRIDE; |
134 #endif | 134 #endif |
| 135 virtual NetworkTimeTracker* network_time_tracker() OVERRIDE; |
135 | 136 |
136 static void RegisterPrefs(PrefRegistrySimple* registry); | 137 static void RegisterPrefs(PrefRegistrySimple* registry); |
137 | 138 |
138 private: | 139 private: |
139 void CreateWatchdogThread(); | 140 void CreateWatchdogThread(); |
140 void CreateProfileManager(); | 141 void CreateProfileManager(); |
141 void CreateLocalState(); | 142 void CreateLocalState(); |
142 void CreateViewedPageTracker(); | 143 void CreateViewedPageTracker(); |
143 void CreateIconManager(); | 144 void CreateIconManager(); |
144 void CreateIntranetRedirectDetector(); | 145 void CreateIntranetRedirectDetector(); |
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
278 | 279 |
279 // TODO(eroman): Remove this when done debugging 113031. This tracks | 280 // TODO(eroman): Remove this when done debugging 113031. This tracks |
280 // the callstack which released the final module reference count. | 281 // the callstack which released the final module reference count. |
281 base::debug::StackTrace release_last_reference_callstack_; | 282 base::debug::StackTrace release_last_reference_callstack_; |
282 | 283 |
283 #if defined(ENABLE_WEBRTC) | 284 #if defined(ENABLE_WEBRTC) |
284 // Lazily initialized. | 285 // Lazily initialized. |
285 scoped_ptr<WebRtcLogUploader> webrtc_log_uploader_; | 286 scoped_ptr<WebRtcLogUploader> webrtc_log_uploader_; |
286 #endif | 287 #endif |
287 | 288 |
| 289 scoped_ptr<NetworkTimeTracker> network_time_tracker_; |
| 290 |
288 DISALLOW_COPY_AND_ASSIGN(BrowserProcessImpl); | 291 DISALLOW_COPY_AND_ASSIGN(BrowserProcessImpl); |
289 }; | 292 }; |
290 | 293 |
291 #endif // CHROME_BROWSER_BROWSER_PROCESS_IMPL_H_ | 294 #endif // CHROME_BROWSER_BROWSER_PROCESS_IMPL_H_ |
OLD | NEW |