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

Unified Diff: chrome/browser/sync/test/integration/sync_test.cc

Issue 23441042: Refactor common invalidation framework types (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase 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: chrome/browser/sync/test/integration/sync_test.cc
diff --git a/chrome/browser/sync/test/integration/sync_test.cc b/chrome/browser/sync/test/integration/sync_test.cc
index a558afea28e5bef4231f11d5eff4ace57fb83fe5..a76d6a47b76a28d8628446c7cd03e140e488c637 100644
--- a/chrome/browser/sync/test/integration/sync_test.cc
+++ b/chrome/browser/sync/test/integration/sync_test.cc
@@ -675,11 +675,8 @@ void SyncTest::TriggerNotification(syncer::ModelTypeSet changed_types) {
syncer::P2PNotificationData(
"from_server",
syncer::NOTIFY_ALL,
- syncer::ObjectIdSetToInvalidationMap(
- syncer::ModelTypeSetToObjectIdSet(changed_types),
- syncer::Invalidation::kUnknownVersion,
- std::string())
- ).ToString();
+ syncer::ObjectIdInvalidationMap::InvalidateAll(
+ syncer::ModelTypeSetToObjectIdSet(changed_types))).ToString();
const std::string& path =
std::string("chromiumsync/sendnotification?channel=") +
syncer::kSyncP2PNotificationChannel + "&data=" + data;

Powered by Google App Engine
This is Rietveld 408576698