summaryrefslogtreecommitdiffstats
path: root/chrome/browser/sync/sync_setup_wizard_unittest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/sync/sync_setup_wizard_unittest.cc')
-rw-r--r--chrome/browser/sync/sync_setup_wizard_unittest.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/chrome/browser/sync/sync_setup_wizard_unittest.cc b/chrome/browser/sync/sync_setup_wizard_unittest.cc
index bbe7673..e08c91d 100644
--- a/chrome/browser/sync/sync_setup_wizard_unittest.cc
+++ b/chrome/browser/sync/sync_setup_wizard_unittest.cc
@@ -314,7 +314,8 @@ TEST_F(SyncSetupWizardTest, ChooseDataTypesSetsPrefs) {
"\"syncPreferences\":true,\"syncThemes\":false,\"syncPasswords\":false,"
"\"syncAutofill\":false,\"syncExtensions\":false,\"syncTypedUrls\":true,"
"\"syncApps\":true,\"syncSearchEngines\":false,\"syncSessions\":false,"
- "\"usePassphrase\":false,\"encryptAllData\":false}";
+ "\"syncAppNotifications\":false,\"usePassphrase\":false,"
+ "\"encryptAllData\":false}";
data_type_choices_value.Append(new StringValue(data_type_choices));
// Simulate the user choosing data types; bookmarks, prefs, typed URLS, and
@@ -333,6 +334,8 @@ TEST_F(SyncSetupWizardTest, ChooseDataTypesSetsPrefs) {
EXPECT_EQ(1U, service_->chosen_data_types_.count(syncable::TYPED_URLS));
EXPECT_EQ(1U, service_->chosen_data_types_.count(syncable::APPS));
EXPECT_EQ(0U, service_->chosen_data_types_.count(syncable::SEARCH_ENGINES));
+ EXPECT_EQ(0U, service_->chosen_data_types_.count(
+ syncable::APP_NOTIFICATIONS));
}
TEST_F(SyncSetupWizardTest, EnterPassphraseRequired) {