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

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

Issue 505073002: Fix a bug where the resource manager displays Chrome Apps with non-human readable names. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add a clarifying comment. Created 6 years, 4 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 | « no previous file | chrome/browser/resources/options/website_settings.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/options/origin_resources_list.js
diff --git a/chrome/browser/resources/options/origin_resources_list.js b/chrome/browser/resources/options/origin_resources_list.js
index bfb3643cf1979569cc80b61055a6448a769c0f8e..7124c67c77ff2ca6ed29548c6da3ca342490133b 100644
--- a/chrome/browser/resources/options/origin_resources_list.js
+++ b/chrome/browser/resources/options/origin_resources_list.js
@@ -15,6 +15,7 @@ cr.define('options', function() {
el.origin_ = origin.origin;
el.usage_ = origin.usage;
el.usageString_ = origin.usageString;
+ el.readableName_ = origin.readableName;
el.__proto__ = OriginListItem.prototype;
el.decorate();
return el;
@@ -33,7 +34,7 @@ cr.define('options', function() {
var titleEl = this.ownerDocument.createElement('div');
titleEl.className = 'title favicon-cell weaktrl';
- titleEl.textContent = this.origin_;
+ titleEl.textContent = this.readableName_;
titleEl.originPattern = this.origin_;
titleEl.style.backgroundImage = getFaviconImageSet(this.origin_);
this.contentElement_.appendChild(titleEl);
« no previous file with comments | « no previous file | chrome/browser/resources/options/website_settings.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698