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

Unified Diff: sync/tools/sync_listen_notifications.cc

Issue 10696087: [Sync] Move ModelType and related classes to 'syncer' namespace (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sort headers, update copyrights Created 8 years, 6 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/tools/sync_client.cc ('k') | sync/util/cryptographer.h » ('j') | 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 29d6edc17061a89b6568bd54227f76caa7cb4d28..cab1cd6a68cdc136c5f39146a523cb92c2c994af 100644
--- a/sync/tools/sync_listen_notifications.cc
+++ b/sync/tools/sync_listen_notifications.cc
@@ -62,14 +62,14 @@ class NotificationPrinter : public syncer::SyncNotifierObserver {
}
virtual void OnIncomingNotification(
- const syncable::ModelTypePayloadMap& type_payloads,
+ const syncer::ModelTypePayloadMap& type_payloads,
syncer::IncomingNotificationSource source) OVERRIDE {
- for (syncable::ModelTypePayloadMap::const_iterator it =
+ for (syncer::ModelTypePayloadMap::const_iterator it =
type_payloads.begin(); it != type_payloads.end(); ++it) {
LOG(INFO) << (source == syncer::REMOTE_NOTIFICATION ?
"Remote" : "Local")
<< " Notification: type = "
- << syncable::ModelTypeToString(it->first)
+ << syncer::ModelTypeToString(it->first)
<< ", payload = " << it->second;
}
}
@@ -242,7 +242,7 @@ int main(int argc, char* argv[]) {
sync_notifier->SetUniqueId(kUniqueId);
sync_notifier->UpdateCredentials(email, token);
// Listen for notifications for all known types.
- sync_notifier->UpdateEnabledTypes(syncable::ModelTypeSet::All());
+ sync_notifier->UpdateEnabledTypes(syncer::ModelTypeSet::All());
ui_loop.Run();
« no previous file with comments | « sync/tools/sync_client.cc ('k') | sync/util/cryptographer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698