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

Unified Diff: chrome/browser/resources/settings/appearance_page/appearance_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/appearance_page/appearance_browser_proxy.js
diff --git a/chrome/browser/resources/settings/appearance_page/appearance_browser_proxy.js b/chrome/browser/resources/settings/appearance_page/appearance_browser_proxy.js
index 5f72e2798100c9328a28164bd87f431f2da776f8..b139a7f1494d8067d4e5b4245034d6308fa28ff1 100644
--- a/chrome/browser/resources/settings/appearance_page/appearance_browser_proxy.js
+++ b/chrome/browser/resources/settings/appearance_page/appearance_browser_proxy.js
@@ -19,15 +19,15 @@ cr.define('settings', function() {
/** @return {boolean} Whether the current profile is supervised. */
isSupervised: assertNotReached,
-<if expr="chromeos">
+// <if expr="chromeos">
openWallpaperManager: assertNotReached,
-</if>
+// </if>
useDefaultTheme: assertNotReached,
-<if expr="is_linux and not chromeos">
+// <if expr="is_linux and not chromeos">
useSystemTheme: assertNotReached,
-</if>
+// </if>
};
/**
@@ -58,24 +58,24 @@ cr.define('settings', function() {
return loadTimeData.getBoolean('isSupervised');
},
-<if expr="chromeos">
+// <if expr="chromeos">
/** @override */
openWallpaperManager: function() {
chrome.send('openWallpaperManager');
},
-</if>
+// </if>
/** @override */
useDefaultTheme: function() {
chrome.send('useDefaultTheme');
},
-<if expr="is_linux and not chromeos">
+// <if expr="is_linux and not chromeos">
/** @override */
useSystemTheme: function() {
chrome.send('useSystemTheme');
},
-</if>
+// </if>
};
return {

Powered by Google App Engine
This is Rietveld 408576698