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

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

Issue 10834082: Pass through Extension::FROM_WEBSTORE to Extension::Create when installing an (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: remove IWYU import fix, could cause cherry-pick problems if we do that Created 8 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/extensions/webstore_inline_installer.cc
diff --git a/chrome/browser/extensions/webstore_inline_installer.cc b/chrome/browser/extensions/webstore_inline_installer.cc
index 50a63cb4f9e36f68aebd46b02c8caa9e9eea1bc5..c496995499d369a0211531d98732f67655ee676d 100644
--- a/chrome/browser/extensions/webstore_inline_installer.cc
+++ b/chrome/browser/extensions/webstore_inline_installer.cc
@@ -351,7 +351,12 @@ void WebstoreInlineInstaller::OnWebstoreParseSuccess(
rating_count_);
std::string error;
dummy_extension_ = ExtensionInstallPrompt::GetLocalizedExtensionForDisplay(
- manifest, id_, localized_name_, localized_description_, &error);
+ manifest,
+ Extension::FROM_WEBSTORE,
+ id_,
+ localized_name_,
+ localized_description_,
+ &error);
if (!dummy_extension_) {
OnWebstoreParseFailure(id_, WebstoreInstallHelper::Delegate::MANIFEST_ERROR,
kInvalidManifestError);

Powered by Google App Engine
This is Rietveld 408576698