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

Unified Diff: sync/tools/sync_client.cc

Issue 10824140: Add InvalidationStateTracker::Forget() to erase an entry from storage. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix sync_client target Created 8 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 | « sync/notifier/registration_manager_unittest.cc ('k') | sync/tools/sync_listen_notifications.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/tools/sync_client.cc
diff --git a/sync/tools/sync_client.cc b/sync/tools/sync_client.cc
index 9047d482a4ccddabf1065b2e3453461204e9629a..5226fa9cf3a7a23f465d587aec2443913891a14e 100644
--- a/sync/tools/sync_client.cc
+++ b/sync/tools/sync_client.cc
@@ -83,6 +83,12 @@ class NullInvalidationStateTracker
<< ObjectIdToString(id) << " to " << max_invalidation_version;
}
+ virtual void Forget(const ObjectIdSet& ids) OVERRIDE {
+ for (ObjectIdSet::const_iterator it = ids.begin(); it != ids.end(); ++it) {
+ VLOG(1) << "Forgetting invalidation state for " << ObjectIdToString(*it);
+ }
+ }
+
virtual std::string GetInvalidationState() const OVERRIDE {
return std::string();
}
« no previous file with comments | « sync/notifier/registration_manager_unittest.cc ('k') | sync/tools/sync_listen_notifications.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698