| Index: chrome/browser/ui/webui/sync_setup_handler_unittest.cc
|
| diff --git a/chrome/browser/ui/webui/sync_setup_handler_unittest.cc b/chrome/browser/ui/webui/sync_setup_handler_unittest.cc
|
| index aeaeb5a76740481572623337e87aec833b45387a..6047c0461009c9b97cd24e819c0670a5edda0195 100644
|
| --- a/chrome/browser/ui/webui/sync_setup_handler_unittest.cc
|
| +++ b/chrome/browser/ui/webui/sync_setup_handler_unittest.cc
|
| @@ -91,6 +91,8 @@ std::string GetConfiguration(const base::DictionaryValue* extra_values,
|
| result.SetBoolean("tabsSynced", types.Has(syncer::PROXY_TABS));
|
| result.SetBoolean("themesSynced", types.Has(syncer::THEMES));
|
| result.SetBoolean("typedUrlsSynced", types.Has(syncer::TYPED_URLS));
|
| + result.SetBoolean("wifiCredentialsSynced",
|
| + types.Has(syncer::WIFI_CREDENTIALS));
|
| std::string args;
|
| base::JSONWriter::Write(&result, &args);
|
| return args;
|
| @@ -110,7 +112,7 @@ void CheckBool(const base::DictionaryValue* dictionary,
|
| bool actual_value;
|
| EXPECT_TRUE(dictionary->GetBoolean(key, &actual_value)) <<
|
| "No value found for " << key;
|
| - EXPECT_EQ(actual_value, expected_value) <<
|
| + EXPECT_EQ(expected_value, actual_value) <<
|
| "Mismatch found for " << key;
|
| }
|
| }
|
| @@ -138,6 +140,8 @@ void CheckConfigDataTypeArguments(base::DictionaryValue* dictionary,
|
| CheckBool(dictionary, "tabsSynced", types.Has(syncer::PROXY_TABS));
|
| CheckBool(dictionary, "themesSynced", types.Has(syncer::THEMES));
|
| CheckBool(dictionary, "typedUrlsSynced", types.Has(syncer::TYPED_URLS));
|
| + CheckBool(dictionary, "wifiCredentialsSynced",
|
| + types.Has(syncer::WIFI_CREDENTIALS));
|
| }
|
|
|
|
|
| @@ -918,6 +922,7 @@ TEST_F(SyncSetupHandlerTest, ShowSetupSyncEverything) {
|
| CheckBool(dictionary, "extensionsRegistered", true);
|
| CheckBool(dictionary, "passwordsRegistered", true);
|
| CheckBool(dictionary, "preferencesRegistered", true);
|
| + CheckBool(dictionary, "wifiCredentialsRegistered", true);
|
| CheckBool(dictionary, "tabsRegistered", true);
|
| CheckBool(dictionary, "themesRegistered", true);
|
| CheckBool(dictionary, "typedUrlsRegistered", true);
|
|
|