| Index: sync/syncable/model_type.cc
|
| diff --git a/sync/syncable/model_type.cc b/sync/syncable/model_type.cc
|
| index 321d546ae4b394813799085eae73e51777fd1b2f..c7a4aa5f2acfe833ea66bc4a704fb6377f4dbebb 100644
|
| --- a/sync/syncable/model_type.cc
|
| +++ b/sync/syncable/model_type.cc
|
| @@ -937,6 +937,7 @@ const char kSupervisedUserSharedSettingNotificationType[] =
|
| const char kSupervisedUserWhitelistNotificationType[] =
|
| "MANAGED_USER_WHITELIST";
|
| const char kArticleNotificationType[] = "ARTICLE";
|
| +const char kWifiCredentialNotificationType[] = "WIFI_CREDENTIAL";
|
| } // namespace
|
|
|
| bool RealModelTypeToNotificationType(ModelType model_type,
|
| @@ -1032,6 +1033,9 @@ bool RealModelTypeToNotificationType(ModelType model_type,
|
| case ARTICLES:
|
| *notification_type = kArticleNotificationType;
|
| return true;
|
| + case WIFI_CREDENTIALS:
|
| + *notification_type = kWifiCredentialNotificationType;
|
| + return true;
|
| default:
|
| break;
|
| }
|
| @@ -1132,6 +1136,9 @@ bool NotificationTypeToRealModelType(const std::string& notification_type,
|
| } else if (notification_type == kArticleNotificationType) {
|
| *model_type = ARTICLES;
|
| return true;
|
| + } else if (notification_type == kWifiCredentialNotificationType) {
|
| + *model_type = WIFI_CREDENTIALS;
|
| + return true;
|
| }
|
| *model_type = UNSPECIFIED;
|
| return false;
|
|
|