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

Unified Diff: chrome/browser/resources/options/browser_options.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 | « 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 835f8d549793d7d664e6f97ef5a8c25bdead14e3..73d37ffb5510f4caa480ed663aaeaa462d2a7e83 100644
--- a/chrome/browser/resources/options/browser_options.js
+++ b/chrome/browser/resources/options/browser_options.js
@@ -1226,6 +1226,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