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

Unified Diff: chrome/browser/extensions/webstore_inline_installer.cc

Issue 145153002: Make sideloaded (externally installed) extensions display webstore info (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: ChromeOS fix Created 6 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/extensions/webstore_inline_installer.cc
diff --git a/chrome/browser/extensions/webstore_inline_installer.cc b/chrome/browser/extensions/webstore_inline_installer.cc
index 99fa7103cfb3dc78cd7126d5aff7c381c242bedf..0d0b8973d55d140c0396899233ff8ca79096a1a6 100644
--- a/chrome/browser/extensions/webstore_inline_installer.cc
+++ b/chrome/browser/extensions/webstore_inline_installer.cc
@@ -12,11 +12,6 @@ using content::WebContents;
namespace extensions {
-const char kVerifiedSiteKey[] = "verified_site";
-const char kVerifiedSitesKey[] = "verified_sites";
-const char kInlineInstallNotSupportedKey[] = "inline_install_not_supported";
-const char kRedirectUrlKey[] = "redirect_url";
-
const char kInvalidWebstoreResponseError[] = "Invalid Chrome Web Store reponse";
const char kNoVerifiedSitesError[] =
"Inline installs can only be initiated for Chrome Web Store items that "
@@ -61,10 +56,10 @@ WebstoreInlineInstaller::CreateInstallPrompt() const {
// crbug.com/260742: Don't display the user count if it's zero. The reason
// it's zero is very often that the number isn't actually being counted
// (intentionally), which means that it's unlikely to be correct.
- prompt->SetInlineInstallWebstoreData(localized_user_count(),
- show_user_count(),
- average_rating(),
- rating_count());
+ prompt->SetWebstoreData(localized_user_count(),
+ show_user_count(),
+ average_rating(),
+ rating_count());
return prompt.Pass();
}

Powered by Google App Engine
This is Rietveld 408576698