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

Unified Diff: chrome/browser/ui/webui/extensions/extension_basic_info.cc

Issue 16831012: Fix a bug where an extension's icon was not being properly updated. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 7 years, 6 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 | « chrome/browser/resources/extensions/extension_list.js ('k') | chrome/common/extensions/extension.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/extensions/extension_basic_info.cc
diff --git a/chrome/browser/ui/webui/extensions/extension_basic_info.cc b/chrome/browser/ui/webui/extensions/extension_basic_info.cc
index 606ee2bde0bce9b5d0870588036b0d7f0bf12b33..bd5ed6042f373c6985b40a2bf0aac22e21d1466f 100644
--- a/chrome/browser/ui/webui/extensions/extension_basic_info.cc
+++ b/chrome/browser/ui/webui/extensions/extension_basic_info.cc
@@ -24,6 +24,7 @@ const char kOptionsUrlKey[] = "optionsUrl";
const char kDetailsUrlKey[] = "detailsUrl";
const char kVersionKey[] = "version";
const char kPackagedAppKey[] = "packagedApp";
+const char kImageId[] = "imageId";
} // namespace
@@ -51,6 +52,7 @@ void GetExtensionBasicInfo(const Extension* extension,
kDetailsUrlKey,
ManifestURL::GetDetailsURL(extension).possibly_invalid_spec());
info->SetBoolean(kPackagedAppKey, extension->is_platform_app());
+ info->SetInteger(kImageId, extension->image_id());
}
} // namespace extensions
« no previous file with comments | « chrome/browser/resources/extensions/extension_list.js ('k') | chrome/common/extensions/extension.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698