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

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

Issue 2617823002: GRIT: put <if> and <include> behind comments in .js files to make syntactically valid JS (Closed)
Patch Set: add dep Created 3 years, 11 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 | « chrome/browser/resources/media_router/media_router.js ('k') | chrome/browser/resources/options/options.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 73d37ffb5510f4caa480ed663aaeaa462d2a7e83..82ca7dd1d09519a71256f57918b33358978a2e35 100644
--- a/chrome/browser/resources/options/browser_options.js
+++ b/chrome/browser/resources/options/browser_options.js
@@ -1229,12 +1229,12 @@ cr.define('options', function() {
SyncSetupOverlay.startSignIn(false /* creatingSupervisedUser */);
break;
case 'signOutAndSignIn':
-<if expr="chromeos">
+// <if expr="chromeos">
// On Chrome OS, sign out the user and sign in again to get fresh
// credentials on auth errors.
SyncSetupOverlay.doSignOutOnAuthError();
-</if>
-<if expr="not chromeos">
+// </if>
+// <if expr="not chromeos">
if (syncData.signoutAllowed) {
// Silently sign the user out without deleting their profile and
// prompt them to sign back in.
@@ -1243,7 +1243,7 @@ cr.define('options', function() {
} else {
chrome.send('showDisconnectManagedProfileDialog');
}
-</if>
+// </if>
break;
case 'upgradeClient':
PageManager.showPageByName('help');
« no previous file with comments | « chrome/browser/resources/media_router/media_router.js ('k') | chrome/browser/resources/options/options.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698