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

Unified Diff: components/sync/driver/data_type_manager_impl.h

Issue 2484903003: [Sync] Sync.ConfigureTime_Long.OK shouldn't accumulate multiple configurations (Closed)
Patch Set: Created 4 years, 1 month 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | components/sync/driver/data_type_manager_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/sync/driver/data_type_manager_impl.h
diff --git a/components/sync/driver/data_type_manager_impl.h b/components/sync/driver/data_type_manager_impl.h
index 0e98753f8d1af3b5f8a95c574eee39a2905934a8..72f30b0688bc9f6288791f1de996279f5bdf58b1 100644
--- a/components/sync/driver/data_type_manager_impl.h
+++ b/components/sync/driver/data_type_manager_impl.h
@@ -113,10 +113,6 @@ class DataTypeManagerImpl : public DataTypeManager,
void NotifyStart();
void NotifyDone(const ConfigureResult& result);
- // Add to |configure_time_delta_| the time since we last called
- // Restart().
- void AddToConfigureTime();
-
void ConfigureImpl(ModelTypeSet desired_types, ConfigureReason reason);
// Calls data type controllers of requested types to register with backend.
@@ -163,10 +159,6 @@ class DataTypeManagerImpl : public DataTypeManager,
// The last time Restart() was called.
base::Time last_restart_time_;
- // The accumulated time spent between calls to Restart() and going
- // to the DONE state.
- base::TimeDelta configure_time_delta_;
-
// Sync's datatype debug info listener, which we pass model association
// statistics to.
const WeakHandle<DataTypeDebugInfoListener> debug_info_listener_;
« no previous file with comments | « no previous file | components/sync/driver/data_type_manager_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698