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

Unified Diff: sync/tools/sync_listen_notifications.cc

Issue 10451060: sync: migrate invalidation state from syncable::Directory to InvalidationStorage (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: init Created 8 years, 7 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/tools/sync_listen_notifications.cc
diff --git a/sync/tools/sync_listen_notifications.cc b/sync/tools/sync_listen_notifications.cc
index d8521631e33e762619f4bae6c4145ecc18e6a7d1..9c49136a128a394402780f570e8458d064505046 100644
--- a/sync/tools/sync_listen_notifications.cc
+++ b/sync/tools/sync_listen_notifications.cc
@@ -55,12 +55,6 @@ class NotificationPrinter : public sync_notifier::SyncNotifierObserver {
LOG(INFO) << "Notifications enabled: " << notifications_enabled;
}
- virtual void StoreState(const std::string& state) OVERRIDE {
- std::string base64_state;
- CHECK(base::Base64Encode(state, &base64_state));
- LOG(INFO) << "Got state to store: " << base64_state;
- }
-
private:
DISALLOW_COPY_AND_ASSIGN(NotificationPrinter);
};
@@ -190,7 +184,6 @@ int main(int argc, char* argv[]) {
const char kUniqueId[] = "fake_unique_id";
sync_notifier->SetUniqueId(kUniqueId);
- sync_notifier->SetState("");
sync_notifier->UpdateCredentials(email, token);
// Listen for notifications for all known types.
sync_notifier->UpdateEnabledTypes(syncable::ModelTypeSet::All());
« sync/notifier/invalidation_notifier_unittest.cc ('K') | « sync/notifier/sync_notifier_observer.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698