| 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();
|
|
|
|
|