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

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: include order 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
« no previous file with comments | « sync/sync.gyp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/tools/sync_listen_notifications.cc
diff --git a/sync/tools/sync_listen_notifications.cc b/sync/tools/sync_listen_notifications.cc
index 9e8948bd20818ed65b143fa650782e2d863053ef..5e5f97af32051eb44246fce05189ae53560311e8 100644
--- a/sync/tools/sync_listen_notifications.cc
+++ b/sync/tools/sync_listen_notifications.cc
@@ -56,12 +56,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);
};
@@ -226,7 +220,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());
« no previous file with comments | « sync/sync.gyp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698