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

Unified Diff: chrome/browser/resources/md_feedback/feedback_container.js

Issue 2163753003: [Md Feedback] Add the rest of existing strings. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Gate privacy note for official branded browsers. Created 4 years, 5 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/md_feedback/feedback_container.js
diff --git a/chrome/browser/resources/md_feedback/feedback_container.js b/chrome/browser/resources/md_feedback/feedback_container.js
index 403aa3515b3358a6fca9dfb5145e0826f55b9ed2..7caa6ab00318f7fa489f829ad5ebf3b98e956b2b 100644
--- a/chrome/browser/resources/md_feedback/feedback_container.js
+++ b/chrome/browser/resources/md_feedback/feedback_container.js
@@ -7,4 +7,15 @@
// to show and what will be submitted to the feedback servers.
Polymer({
is: 'feedback-container',
+
+ /**
+ * Retrieves the feedback privacy note text, if it exists. On non-officially
+ * branded builds, the string is not defined.
+ *
+ * @return {string} Privacy note text.
+ */
+ getPrivacyNote_: function() {
+ return loadTimeData.valueExists('privacyNote') ?
+ this.i18n('privacyNote') : '';
+ },
});
« no previous file with comments | « chrome/browser/resources/md_feedback/feedback_container.html ('k') | chrome/browser/ui/webui/md_feedback/md_feedback_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698