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 7e639f068410145604502a39dbee880311769b39..720914ce7e4861de8728de9ad3a6f156d51de56b 100644 |
--- a/chrome/browser/sync/tools/sync_listen_notifications.cc |
+++ b/chrome/browser/sync/tools/sync_listen_notifications.cc |
@@ -136,15 +136,8 @@ int main(int argc, char* argv[]) { |
sync_notifier->SetUniqueId(kUniqueId); |
sync_notifier->SetState(""); |
sync_notifier->UpdateCredentials(email, token); |
- { |
- // Listen for notifications for all known types. |
- syncable::ModelTypeSet types; |
- for (int i = syncable::FIRST_REAL_MODEL_TYPE; |
- i < syncable::MODEL_TYPE_COUNT; ++i) { |
- types.insert(syncable::ModelTypeFromInt(i)); |
- } |
- sync_notifier->UpdateEnabledTypes(types); |
- } |
+ // Listen for notifications for all known types. |
+ sync_notifier->UpdateEnabledTypes(syncable::ModelEnumSet::All()); |
ui_loop.Run(); |