summaryrefslogtreecommitdiffstats
path: root/chrome/browser/sync/syncable
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/sync/syncable')
-rw-r--r--chrome/browser/sync/syncable/model_type.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/chrome/browser/sync/syncable/model_type.cc b/chrome/browser/sync/syncable/model_type.cc
index 42cfc39..f1accf5 100644
--- a/chrome/browser/sync/syncable/model_type.cc
+++ b/chrome/browser/sync/syncable/model_type.cc
@@ -650,15 +650,17 @@ bool NotificationTypeToRealModelType(const std::string& notification_type,
return true;
} else if (notification_type == kAppSettingNotificationType) {
*model_type = APP_SETTINGS;
+ return true;
} else if (notification_type == kExtensionSettingNotificationType) {
*model_type = EXTENSION_SETTINGS;
return true;
} else if (notification_type == kAppNotificationNotificationType) {
*model_type = APP_NOTIFICATIONS;
return true;
+ } else {
+ *model_type = UNSPECIFIED;
+ return false;
}
- *model_type = UNSPECIFIED;
- return false;
}
ModelTypeSet GetAllRealModelTypes() {