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

Unified Diff: sync/engine/download_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
Index: sync/engine/download_unittest.cc
diff --git a/sync/engine/download_unittest.cc b/sync/engine/download_unittest.cc
index 6aac31d51b87651dddddb2ca6346426a1e33e4e8..fb4431a5c1f02ee5a7e69a49ad675ae1bdab5d75 100644
--- a/sync/engine/download_unittest.cc
+++ b/sync/engine/download_unittest.cc
@@ -144,7 +144,10 @@ TEST_F(DownloadUpdatesTest, VerifyAppendDebugInfo) {
// Create a new session, record an event, and try again.
scoped_ptr<sessions::SyncSession> session2(
sessions::SyncSession::Build(context(), delegate()));
- debug_info_event_listener()->OnConfigureComplete();
+ DataTypeConfigurationStats stats;
+ stats.model_type = BOOKMARKS;
+ debug_info_event_listener()->OnDataTypeConfigureComplete(
+ std::vector<DataTypeConfigurationStats>(1, stats));
sync_pb::ClientToServerMessage msg2;
BuildNormalDownloadUpdates(session2.get(),
false,
« no previous file with comments | « chrome/browser/sync/profile_sync_service_preference_unittest.cc ('k') | sync/internal_api/debug_info_event_listener.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698