diff options
author | jcivelli@chromium.org <jcivelli@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-06-08 19:49:11 +0000 |
---|---|---|
committer | jcivelli@chromium.org <jcivelli@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-06-08 19:49:11 +0000 |
commit | c82da8c4adce2fcf0fef48442f877f4d5917a6b1 (patch) | |
tree | ea7a3f0956d3f0fc51f559ef5259cb29a9a03edb /chrome/browser/extensions/bundle_installer.cc | |
parent | 6420f2bf0febcfa31ba1d672d39d2ccfc1bd5f34 (diff) | |
download | chromium_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.cc | 2 |
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); } } |