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

Unified Diff: chrome/browser/resources/settings/lifetime_browser_proxy.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
Index: chrome/browser/resources/settings/lifetime_browser_proxy.js
diff --git a/chrome/browser/resources/settings/lifetime_browser_proxy.js b/chrome/browser/resources/settings/lifetime_browser_proxy.js
index 4598a800fd2bba3824bc2eb8db233c088ee762dd..0e7750fb665bc96fa028428d58597fc2f4503fab 100644
--- a/chrome/browser/resources/settings/lifetime_browser_proxy.js
+++ b/chrome/browser/resources/settings/lifetime_browser_proxy.js
@@ -13,13 +13,13 @@ cr.define('settings', function() {
// Triggers a browser relaunch.
relaunch: function() {},
-<if expr="chromeos">
+// <if expr="chromeos">
// First signs out current user and then performs a restart.
signOutAndRestart: function() {},
// Triggers a factory reset.
factoryReset: function() {},
-</if>
+// </if>
};
/**
@@ -40,7 +40,7 @@ cr.define('settings', function() {
chrome.send('relaunch');
},
-<if expr="chromeos">
+// <if expr="chromeos">
/** @override */
signOutAndRestart: function() {
chrome.send('signOutAndRestart');
@@ -50,7 +50,7 @@ cr.define('settings', function() {
factoryReset: function() {
chrome.send('factoryReset');
},
-</if>
+// </if>
};
return {

Powered by Google App Engine
This is Rietveld 408576698