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

Unified Diff: sync/notifier/chrome_invalidation_client.h

Issue 10837214: Refactor ModelTypePayloadMap and ObjectIdPayloadMap to StateMaps. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix unit test Created 8 years, 4 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 | « sync/internal_api/test/fake_sync_manager.cc ('k') | sync/notifier/chrome_invalidation_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/notifier/chrome_invalidation_client.h
diff --git a/sync/notifier/chrome_invalidation_client.h b/sync/notifier/chrome_invalidation_client.h
index e05808cbd11ddebcce3393c7c21ac2a01b20dcf6..fc6c43dfae70d4abe9ae647aea952e0b1c2eb887 100644
--- a/sync/notifier/chrome_invalidation_client.h
+++ b/sync/notifier/chrome_invalidation_client.h
@@ -22,7 +22,7 @@
#include "sync/notifier/chrome_system_resources.h"
#include "sync/notifier/invalidation_state_tracker.h"
#include "sync/notifier/notifications_disabled_reason.h"
-#include "sync/notifier/object_id_payload_map.h"
+#include "sync/notifier/object_id_state_map.h"
#include "sync/notifier/state_writer.h"
namespace buzz {
@@ -56,7 +56,7 @@ class ChromeInvalidationClient
public:
virtual ~Listener();
- virtual void OnInvalidate(const ObjectIdPayloadMap& id_payloads) = 0;
+ virtual void OnInvalidate(const ObjectIdStateMap& id_state_map) = 0;
virtual void OnNotificationsEnabled() = 0;
@@ -137,7 +137,7 @@ class ChromeInvalidationClient
void EmitStateChange();
- void EmitInvalidation(const ObjectIdPayloadMap& id_payloads);
+ void EmitInvalidation(const ObjectIdStateMap& id_state_map);
// Owned by |chrome_system_resources_|.
notifier::PushClient* const push_client_;
« no previous file with comments | « sync/internal_api/test/fake_sync_manager.cc ('k') | sync/notifier/chrome_invalidation_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698