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

Unified Diff: chrome/browser/resources/settings/downloads_page/downloads_page.js

Issue 2616713002: MD Settings: only do downloads path normalization on ChromeOS (Closed)
Patch Set: 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/downloads_page/downloads_page.js
diff --git a/chrome/browser/resources/settings/downloads_page/downloads_page.js b/chrome/browser/resources/settings/downloads_page/downloads_page.js
index 7603dad8f7812eeeba7c08cb3f97d580e44eb6a2..004e99c16a4ddd5d3df2477f4393c9463554b2c8 100644
--- a/chrome/browser/resources/settings/downloads_page/downloads_page.js
+++ b/chrome/browser/resources/settings/downloads_page/downloads_page.js
@@ -39,6 +39,7 @@ Polymer({
chrome.send('selectDownloadLocation');
},
+<if expr="chromeos">
/**
* @param {string} path
* @return {string} The download location string that is suitable to display
@@ -55,4 +56,5 @@ Polymer({
path = path.replace(/\//g, ' \u203a ');
return path;
},
+</if>
});

Powered by Google App Engine
This is Rietveld 408576698