Index: chrome/browser/sync/syncable/model_type.cc |
diff --git a/chrome/browser/sync/syncable/model_type.cc b/chrome/browser/sync/syncable/model_type.cc |
index ccce16902e180eec84b949f16d884e6cf3dadcb4..7029a161ba3bf5d39fff952fe394416e503a0390 100644 |
--- a/chrome/browser/sync/syncable/model_type.cc |
+++ b/chrome/browser/sync/syncable/model_type.cc |
@@ -639,15 +639,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() { |