Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(320)

Side by Side Diff: chrome/browser/browser_process_impl.h

Issue 296453005: Componentize chrome/browser/network_time (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix iOS Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/browser/browser_process.h ('k') | chrome/browser/browser_process_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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 virtual network_time::NetworkTimeTracker* network_time_tracker() OVERRIDE;
136 136
137 static void RegisterPrefs(PrefRegistrySimple* registry); 137 static void RegisterPrefs(PrefRegistrySimple* registry);
138 138
139 private: 139 private:
140 void CreateWatchdogThread(); 140 void CreateWatchdogThread();
141 void CreateProfileManager(); 141 void CreateProfileManager();
142 void CreateLocalState(); 142 void CreateLocalState();
143 void CreateViewedPageTracker(); 143 void CreateViewedPageTracker();
144 void CreateIconManager(); 144 void CreateIconManager();
145 void CreateIntranetRedirectDetector(); 145 void CreateIntranetRedirectDetector();
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after
279 279
280 // TODO(eroman): Remove this when done debugging 113031. This tracks 280 // TODO(eroman): Remove this when done debugging 113031. This tracks
281 // the callstack which released the final module reference count. 281 // the callstack which released the final module reference count.
282 base::debug::StackTrace release_last_reference_callstack_; 282 base::debug::StackTrace release_last_reference_callstack_;
283 283
284 #if defined(ENABLE_WEBRTC) 284 #if defined(ENABLE_WEBRTC)
285 // Lazily initialized. 285 // Lazily initialized.
286 scoped_ptr<WebRtcLogUploader> webrtc_log_uploader_; 286 scoped_ptr<WebRtcLogUploader> webrtc_log_uploader_;
287 #endif 287 #endif
288 288
289 scoped_ptr<NetworkTimeTracker> network_time_tracker_; 289 scoped_ptr<network_time::NetworkTimeTracker> network_time_tracker_;
290 290
291 DISALLOW_COPY_AND_ASSIGN(BrowserProcessImpl); 291 DISALLOW_COPY_AND_ASSIGN(BrowserProcessImpl);
292 }; 292 };
293 293
294 #endif // CHROME_BROWSER_BROWSER_PROCESS_IMPL_H_ 294 #endif // CHROME_BROWSER_BROWSER_PROCESS_IMPL_H_
OLDNEW
« no previous file with comments | « chrome/browser/browser_process.h ('k') | chrome/browser/browser_process_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698