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

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

Issue 2266303002: [MD Extensions] Add the source type on the details page for an extension (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: michaels Created 4 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 | « chrome/browser/resources/md_extensions/item_source.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/extensions/extensions_ui.cc
diff --git a/chrome/browser/ui/webui/extensions/extensions_ui.cc b/chrome/browser/ui/webui/extensions/extensions_ui.cc
index 11fca5430a2cb0608064f6a186054a3e715c3ddf..aea4c2710ca1c1a8afe33414ad0e5238203af0bd 100644
--- a/chrome/browser/ui/webui/extensions/extensions_ui.cc
+++ b/chrome/browser/ui/webui/extensions/extensions_ui.cc
@@ -85,6 +85,8 @@ content::WebUIDataSource* CreateMdExtensionsSource() {
IDS_MD_EXTENSIONS_ITEM_SOURCE_SIDELOADED);
source->AddLocalizedString("itemSourceUnpacked",
IDS_MD_EXTENSIONS_ITEM_SOURCE_UNPACKED);
+ source->AddLocalizedString("itemSourceWebstore",
+ IDS_MD_EXTENSIONS_ITEM_SOURCE_WEBSTORE);
source->AddLocalizedString("itemVersion",
IDS_MD_EXTENSIONS_ITEM_SOURCE);
source->AddLocalizedString("itemAllowOnFileUrls",
@@ -170,6 +172,9 @@ content::WebUIDataSource* CreateMdExtensionsSource() {
source->AddResourcePath("item_list.css", IDR_MD_EXTENSIONS_ITEM_LIST_CSS);
source->AddResourcePath("item_list.html", IDR_MD_EXTENSIONS_ITEM_LIST_HTML);
source->AddResourcePath("item_list.js", IDR_MD_EXTENSIONS_ITEM_LIST_JS);
+ source->AddResourcePath("item_source.html",
+ IDR_MD_EXTENSIONS_ITEM_SOURCE_HTML);
+ source->AddResourcePath("item_source.js", IDR_MD_EXTENSIONS_ITEM_SOURCE_JS);
source->AddResourcePath("pack_dialog.html",
IDR_MD_EXTENSIONS_PACK_DIALOG_HTML);
source->AddResourcePath("pack_dialog.js", IDR_MD_EXTENSIONS_PACK_DIALOG_JS);
« no previous file with comments | « chrome/browser/resources/md_extensions/item_source.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698