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

Unified Diff: sync/notifier/p2p_invalidator_unittest.cc

Issue 11415049: Implement features needed for local ack handling in InvalidationStateTracker. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 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
Index: sync/notifier/p2p_invalidator_unittest.cc
diff --git a/sync/notifier/p2p_invalidator_unittest.cc b/sync/notifier/p2p_invalidator_unittest.cc
index 6be2c218098a705384caf8b018953ea7fc2044e8..bb0d3c2df3339cd2d83b73b9a1919ed3dde288e8 100644
--- a/sync/notifier/p2p_invalidator_unittest.cc
+++ b/sync/notifier/p2p_invalidator_unittest.cc
@@ -194,9 +194,9 @@ TEST_F(P2PInvalidatorTest, P2PNotificationDataNonDefault) {
EXPECT_EQ(
"{\"idInvalidationMap\":["
"{\"objectId\":{\"name\":\"BOOKMARK\",\"source\":1004},"
- "\"state\":{\"ackHandle\":{},\"payload\":\"\"}},"
+ "\"state\":{\"ackHandle\":{\"state\":\"\"},\"payload\":\"\"}},"
"{\"objectId\":{\"name\":\"THEME\",\"source\":1004},"
- "\"state\":{\"ackHandle\":{},\"payload\":\"\"}}"
+ "\"state\":{\"ackHandle\":{\"state\":\"\"},\"payload\":\"\"}}"
"],\"notificationType\":\"notifyAll\","
"\"senderId\":\"sender\",\"source\":1}", notification_data_str);

Powered by Google App Engine
This is Rietveld 408576698