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

Unified Diff: chrome/browser/sync/tools/sync_listen_notifications.cc

Issue 6358001: [Sync] Convert notifications for UNKNOWN to notifications for everything (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed Tim's comments Created 9 years, 11 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 | « chrome/browser/sync/notifier/server_notifier_thread.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sync/tools/sync_listen_notifications.cc
diff --git a/chrome/browser/sync/tools/sync_listen_notifications.cc b/chrome/browser/sync/tools/sync_listen_notifications.cc
index 27e3010bcc57a7e53d1f6985963b07f7ed8d8602..5c939044d1a221f9740e938eb6975e2e5529b2d1 100644
--- a/chrome/browser/sync/tools/sync_listen_notifications.cc
+++ b/chrome/browser/sync/tools/sync_listen_notifications.cc
@@ -154,15 +154,8 @@ class ChromeInvalidationListener
ChromeInvalidationListener() {}
virtual void OnInvalidate(syncable::ModelType model_type) {
- // TODO(akalin): This is a hack to make new sync data types work
- // with server-issued notifications. Remove this when it's not
- // needed anymore.
- if (model_type == syncable::UNSPECIFIED) {
- LOG(INFO) << "OnInvalidate: UNKNOWN";
- } else {
- LOG(INFO) << "OnInvalidate: "
- << syncable::ModelTypeToString(model_type);
- }
+ LOG(INFO) << "OnInvalidate: "
+ << syncable::ModelTypeToString(model_type);
// A real implementation would respond to the invalidation.
}
« no previous file with comments | « chrome/browser/sync/notifier/server_notifier_thread.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698