summaryrefslogtreecommitdiffstats
path: root/chrome/browser/sync/startup_controller.h
diff options
context:
space:
mode:
authortim@chromium.org <tim@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-03-18 17:07:10 +0000
committertim@chromium.org <tim@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-03-18 17:07:10 +0000
commitcea159c9938d30c42bbba30bd476496a014419dc (patch)
tree23dfb48784c275c80a3cedd32c067730231c1f40 /chrome/browser/sync/startup_controller.h
parentce138757dd25ccf9e5ccbbfc815b1eece5af95ce (diff)
downloadchromium_src-cea159c9938d30c42bbba30bd476496a014419dc.zip
chromium_src-cea159c9938d30c42bbba30bd476496a014419dc.tar.gz
chromium_src-cea159c9938d30c42bbba30bd476496a014419dc.tar.bz2
sync: replace Sync.Startup.TimeDeferred with TimeDeferred2
TimeDeferred2 uses a more appropriate custom range for the data. BUG=none. Review URL: https://codereview.chromium.org/202493002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@257664 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/sync/startup_controller.h')
-rw-r--r--chrome/browser/sync/startup_controller.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/chrome/browser/sync/startup_controller.h b/chrome/browser/sync/startup_controller.h
index 6ef4af53..0dbceb5 100644
--- a/chrome/browser/sync/startup_controller.h
+++ b/chrome/browser/sync/startup_controller.h
@@ -72,6 +72,9 @@ class StartupController {
bool StartUp(StartUpDeferredOption deferred_option);
void OnFallbackStartupTimerExpired();
+ // Records time spent in deferred state with UMA histograms.
+ void RecordTimeDeferred();
+
// True if we should start sync ASAP because either a SyncableService has
// requested it, or we're done waiting for a sign and decided to go ahead.
bool received_start_request_;