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

Unified Diff: chrome/browser/resources/settings/people_page/sync_browser_proxy.js

Issue 2591093002: [MD Settings][People] Force sign out only in the case of unrecoverable error (Closed)
Patch Set: Fixed compilation error Created 4 years 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
« no previous file with comments | « chrome/browser/resources/settings/people_page/people_page.js ('k') | chrome/browser/sync/sync_ui_util.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/settings/people_page/sync_browser_proxy.js
diff --git a/chrome/browser/resources/settings/people_page/sync_browser_proxy.js b/chrome/browser/resources/settings/people_page/sync_browser_proxy.js
index f71f2ad056867509324e3e6d6bbfe695307a0a5f..be5c2b6d98523f5b192877738054ea7951f7bd11 100644
--- a/chrome/browser/resources/settings/people_page/sync_browser_proxy.js
+++ b/chrome/browser/resources/settings/people_page/sync_browser_proxy.js
@@ -35,10 +35,11 @@ settings.SyncStatus;
* @enum {string}
*/
settings.StatusAction = {
- NO_ACTION: 'noAction', // No action to take.
- REAUTHENTICATE: 'reauthenticate', // User needs to reauthenticate.
- UPGRADE_CLIENT: 'upgradeClient', // User needs to upgrade the client.
- ENTER_PASSPHRASE: 'enterPassphrase', // User needs to enter passphrase.
+ NO_ACTION: 'noAction', // No action to take.
+ REAUTHENTICATE: 'reauthenticate', // User needs to reauthenticate.
+ SIGNOUT_AND_SIGNIN: 'signOutAndSignIn', // User needs to sign out and sign in.
+ UPGRADE_CLIENT: 'upgradeClient', // User needs to upgrade the client.
+ ENTER_PASSPHRASE: 'enterPassphrase', // User needs to enter passphrase.
};
/**
@@ -180,10 +181,7 @@ cr.define('settings', function() {
<if expr="not chromeos">
/** @override */
startSignIn: function() {
- // TODO(tommycli): Currently this is always false, but this will become
- // a parameter once supervised users are implemented in MD Settings.
- var creatingSupervisedUser = false;
- chrome.send('SyncSetupStartSignIn', [creatingSupervisedUser]);
+ chrome.send('SyncSetupStartSignIn');
},
/** @override */
« no previous file with comments | « chrome/browser/resources/settings/people_page/people_page.js ('k') | chrome/browser/sync/sync_ui_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698