Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1334)

Unified Diff: chrome/browser/ui/webui/sync_setup_handler_unittest.cc

Issue 11961030: [Sync] Make SESSIONS an implicit type (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Cleanup Created 7 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 76542fb63420efded848ab602a1a07e2b315267d..d16416859645b083d561ae0a6c2535b29437a590 100644
--- a/chrome/browser/ui/webui/sync_setup_handler_unittest.cc
+++ b/chrome/browser/ui/webui/sync_setup_handler_unittest.cc
@@ -56,7 +56,7 @@ const syncer::ModelType kUserSelectableTypes[] = {
syncer::EXTENSIONS,
syncer::PASSWORDS,
syncer::PREFERENCES,
- syncer::SESSIONS,
+ syncer::TABS,
syncer::THEMES,
syncer::TYPED_URLS
};
@@ -102,7 +102,7 @@ std::string GetConfiguration(const DictionaryValue* extra_values,
result.SetBoolean("extensionsSynced", types.Has(syncer::EXTENSIONS));
result.SetBoolean("passwordsSynced", types.Has(syncer::PASSWORDS));
result.SetBoolean("preferencesSynced", types.Has(syncer::PREFERENCES));
- result.SetBoolean("sessionsSynced", types.Has(syncer::SESSIONS));
+ result.SetBoolean("tabsSynced", types.Has(syncer::TABS));
result.SetBoolean("themesSynced", types.Has(syncer::THEMES));
result.SetBoolean("typedUrlsSynced", types.Has(syncer::TYPED_URLS));
std::string args;
@@ -201,7 +201,7 @@ void CheckConfigDataTypeArguments(DictionaryValue* dictionary,
CheckBool(dictionary, "extensionsSynced", types.Has(syncer::EXTENSIONS));
CheckBool(dictionary, "passwordsSynced", types.Has(syncer::PASSWORDS));
CheckBool(dictionary, "preferencesSynced", types.Has(syncer::PREFERENCES));
- CheckBool(dictionary, "sessionsSynced", types.Has(syncer::SESSIONS));
+ CheckBool(dictionary, "tabsSynced", types.Has(syncer::TABS));
CheckBool(dictionary, "themesSynced", types.Has(syncer::THEMES));
CheckBool(dictionary, "typedUrlsSynced", types.Has(syncer::TYPED_URLS));
}
@@ -1120,7 +1120,7 @@ TEST_P(SyncSetupHandlerTest, ShowSetupSyncEverything) {
CheckBool(dictionary, "extensionsRegistered", true);
CheckBool(dictionary, "passwordsRegistered", true);
CheckBool(dictionary, "preferencesRegistered", true);
- CheckBool(dictionary, "sessionsRegistered", true);
+ CheckBool(dictionary, "tabsRegistered", true);
CheckBool(dictionary, "themesRegistered", true);
CheckBool(dictionary, "typedUrlsRegistered", true);
CheckBool(dictionary, "showPassphrase", false);

Powered by Google App Engine
This is Rietveld 408576698