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

Unified Diff: chrome/browser/resources/options/browser_options.js

Issue 2603283003: [MD Settings][People] Force sign out only in the case of unrecoverable error (Closed)
Patch Set: Created 3 years, 12 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
« no previous file with comments | « no previous file | chrome/browser/resources/settings/people_page/people_page.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/options/browser_options.js
diff --git a/chrome/browser/resources/options/browser_options.js b/chrome/browser/resources/options/browser_options.js
index ac48f54c3faf9e20d8a68e2ca8bd37bd9d550d58..b6294677663d0004c8e3dd361c89255a27abde84 100644
--- a/chrome/browser/resources/options/browser_options.js
+++ b/chrome/browser/resources/options/browser_options.js
@@ -1224,6 +1224,9 @@ cr.define('options', function() {
$('sync-action-link').onclick = function(event) {
switch (syncData.statusAction) {
case 'reauthenticate':
+ SyncSetupOverlay.startSignIn(false /* creatingSupervisedUser */);
+ break;
+ case 'signOutAndSignIn':
<if expr="chromeos">
// On Chrome OS, sign out the user and sign in again to get fresh
// credentials on auth errors.
« no previous file with comments | « no previous file | chrome/browser/resources/settings/people_page/people_page.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698