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

Unified Diff: chrome/browser/sync/profile_sync_service_preference_unittest.cc

Issue 23866012: Send configuration stats together at the end of data type configuration so that (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/sync/profile_sync_service_autofill_unittest.cc ('k') | sync/engine/download_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sync/profile_sync_service_preference_unittest.cc
diff --git a/chrome/browser/sync/profile_sync_service_preference_unittest.cc b/chrome/browser/sync/profile_sync_service_preference_unittest.cc
index 03b3e5d52a9256837ad2815791e35596bce4b871..42e165cab7ae32c6bc43084b8661c3108e8d2748 100644
--- a/chrome/browser/sync/profile_sync_service_preference_unittest.cc
+++ b/chrome/browser/sync/profile_sync_service_preference_unittest.cc
@@ -103,12 +103,11 @@ class ProfileSyncServicePreferenceTest
}
// DataTypeDebugInfoListener implementation.
- virtual void OnSingleDataTypeConfigureComplete(
- const syncer::DataTypeConfigurationStats& configuration_stats) OVERRIDE {
- association_stats_ = configuration_stats.association_stats;
- }
- virtual void OnConfigureComplete() OVERRIDE {
- // Do nothing.
+ virtual void OnDataTypeConfigureComplete(
+ const std::vector<syncer::DataTypeConfigurationStats>&
+ configuration_stats) OVERRIDE {
+ ASSERT_EQ(1u, configuration_stats.size());
+ association_stats_ = configuration_stats[0].association_stats;
}
protected:
« no previous file with comments | « chrome/browser/sync/profile_sync_service_autofill_unittest.cc ('k') | sync/engine/download_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698