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

Unified Diff: chrome/browser/ui/webui/extensions/install_extension_handler.cc

Issue 10683003: Moved CrxInstaller and CrxInstallerError into extensions namespace (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 6 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/ui/webui/extensions/install_extension_handler.cc
diff --git a/chrome/browser/ui/webui/extensions/install_extension_handler.cc b/chrome/browser/ui/webui/extensions/install_extension_handler.cc
index 78b1b2ca08916b6648943017fcb8fc80f93a68e8..9a5da3690c73e4ec1c4bfe4acfc8901d84381572 100644
--- a/chrome/browser/ui/webui/extensions/install_extension_handler.cc
+++ b/chrome/browser/ui/webui/extensions/install_extension_handler.cc
@@ -83,12 +83,12 @@ void InstallExtensionHandler::HandleInstallMessage(const ListValue* args) {
Browser* browser = browser::FindBrowserWithWebContents(
web_ui()->GetWebContents());
Profile* profile = browser->profile();
- scoped_refptr<CrxInstaller> crx_installer(
- CrxInstaller::Create(
+ scoped_refptr<extensions::CrxInstaller> crx_installer(
+ extensions::CrxInstaller::Create(
ExtensionSystem::Get(profile)->extension_service(),
new ExtensionInstallPrompt(browser)));
crx_installer->set_off_store_install_allow_reason(
- CrxInstaller::OffStoreInstallAllowedFromSettingsPage);
+ extensions::CrxInstaller::OffStoreInstallAllowedFromSettingsPage);
const bool kCaseSensitive = false;

Powered by Google App Engine
This is Rietveld 408576698