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

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

Issue 10388252: Refactoring ExtenionInstallUI to abstract the Browser references. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Minor clean-ups Created 8 years, 7 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/extension_webstore_private_api.cc
diff --git a/chrome/browser/extensions/extension_webstore_private_api.cc b/chrome/browser/extensions/extension_webstore_private_api.cc
index 8aa813bef31fcc6131209e5e6e82536eb962c97c..b06de1b53244b15c9b6cf0abb3b9b3736ca2e7b6 100644
--- a/chrome/browser/extensions/extension_webstore_private_api.cc
+++ b/chrome/browser/extensions/extension_webstore_private_api.cc
@@ -357,7 +357,7 @@ void BeginInstallWithManifestFunction::OnWebstoreParseSuccess(
parsed_manifest_.reset(parsed_manifest);
std::string error;
- dummy_extension_ = ExtensionInstallUI::GetLocalizedExtensionForDisplay(
+ dummy_extension_ = ExtensionInstallPrompt::GetLocalizedExtensionForDisplay(
parsed_manifest_.get(), id, localized_name_, "", &error);
if (!dummy_extension_) {
@@ -366,7 +366,7 @@ void BeginInstallWithManifestFunction::OnWebstoreParseSuccess(
return;
}
- install_ui_.reset(new ExtensionInstallUI(profile()));
+ install_ui_.reset(new ExtensionInstallPrompt(profile()));
install_ui_->ConfirmWebstoreInstall(this, dummy_extension_, &icon_);
// Control flow finishes up in InstallUIProceed or InstallUIAbort.
}

Powered by Google App Engine
This is Rietveld 408576698