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

Unified Diff: chrome/browser/resources/sync_setup_overlay.js

Issue 12286007: Revert "Revert 182527" ([Sync] Make SESSIONS an implicit type) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase 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/resources/sync_setup_overlay.js
diff --git a/chrome/browser/resources/sync_setup_overlay.js b/chrome/browser/resources/sync_setup_overlay.js
index 57957d0b447365437cea70d894f624e2eecef4cb..bf05b2087d5e87c181ecfa72f259dd3f6d2bf1e4 100644
--- a/chrome/browser/resources/sync_setup_overlay.js
+++ b/chrome/browser/resources/sync_setup_overlay.js
@@ -269,7 +269,7 @@ cr.define('options', function() {
'extensionsSynced': syncAll || $('extensions-checkbox').checked,
'typedUrlsSynced': syncAll || $('typed-urls-checkbox').checked,
'appsSynced': syncAll || $('apps-checkbox').checked,
- 'sessionsSynced': syncAll || $('sessions-checkbox').checked,
+ 'tabsSynced': syncAll || $('tabs-checkbox').checked,
'encryptAllData': encryptAllData,
'usePassphrase': usePassphrase,
'isGooglePassphrase': googlePassphrase,
@@ -370,11 +370,11 @@ cr.define('options', function() {
} else {
$('apps-item').hidden = true;
}
- if (args.sessionsRegistered) {
- $('sessions-checkbox').checked = args.sessionsSynced;
- $('sessions-item').hidden = false;
+ if (args.tabsRegistered) {
+ $('tabs-checkbox').checked = args.tabsSynced;
+ $('tabs-item').hidden = false;
} else {
- $('sessions-item').hidden = true;
+ $('tabs-item').hidden = true;
}
this.setCheckboxesToKeepEverythingSynced_(args.syncAllDataTypes);
« no previous file with comments | « chrome/browser/resources/sync_setup_overlay.html ('k') | chrome/browser/sync/glue/model_association_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698