summaryrefslogtreecommitdiffstats
path: root/chrome/browser/extensions/bundle_installer.cc
diff options
context:
space:
mode:
authorjcivelli@chromium.org <jcivelli@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-06-08 19:49:11 +0000
committerjcivelli@chromium.org <jcivelli@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-06-08 19:49:11 +0000
commitc82da8c4adce2fcf0fef48442f877f4d5917a6b1 (patch)
treeea7a3f0956d3f0fc51f559ef5259cb29a9a03edb /chrome/browser/extensions/bundle_installer.cc
parent6420f2bf0febcfa31ba1d672d39d2ccfc1bd5f34 (diff)
downloadchromium_src-c82da8c4adce2fcf0fef48442f877f4d5917a6b1.zip
chromium_src-c82da8c4adce2fcf0fef48442f877f4d5917a6b1.tar.gz
chromium_src-c82da8c4adce2fcf0fef48442f877f4d5917a6b1.tar.bz2
Refactoring ExtensionInstallUI to abstract the Browser references.
As part of the effort to build unit-tests on Android, this CL abstracts out references to the Browser object from the extension install ui code. For this, ExtensionInstallUI has been renamed ExtensionInstallPrompt and the UI specific bits have been moved to a new class that took the old name ExtensionInstallUI. BUG=None TEST=You should be able to install an extension. All browser tests/unit tests should pass. Review URL: https://chromiumcodereview.appspot.com/10388252 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@141261 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/extensions/bundle_installer.cc')
-rw-r--r--chrome/browser/extensions/bundle_installer.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/extensions/bundle_installer.cc b/chrome/browser/extensions/bundle_installer.cc
index 6552cdb..5cfa4f0 100644
--- a/chrome/browser/extensions/bundle_installer.cc
+++ b/chrome/browser/extensions/bundle_installer.cc
@@ -267,7 +267,7 @@ void BundleInstaller::ShowPrompt() {
} else if (g_auto_approve_for_test == ABORT) {
InstallUIAbort(true);
} else {
- install_ui_.reset(new ExtensionInstallUI(profile_));
+ install_ui_.reset(new ExtensionInstallPrompt(profile_));
install_ui_->ConfirmBundleInstall(this, permissions);
}
}