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

Unified Diff: chrome/browser/download/download_crx_util.cc

Issue 10683003: Moved CrxInstaller and CrxInstallerError into extensions namespace (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Latest-er master 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
« no previous file with comments | « chrome/browser/download/download_crx_util.h ('k') | chrome/browser/download/download_crx_util_android.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/download/download_crx_util.cc
diff --git a/chrome/browser/download/download_crx_util.cc b/chrome/browser/download/download_crx_util.cc
index 1fde0454362f1ff849dadb98b6807930a4b58aac..2748d1be7f68b364c56ba0b125dc5452d4c59004 100644
--- a/chrome/browser/download/download_crx_util.cc
+++ b/chrome/browser/download/download_crx_util.cc
@@ -69,7 +69,7 @@ void SetMockInstallPromptForTesting(ExtensionInstallPrompt* mock_prompt) {
mock_install_prompt_for_testing = mock_prompt;
}
-scoped_refptr<CrxInstaller> OpenChromeExtension(
+scoped_refptr<extensions::CrxInstaller> OpenChromeExtension(
Profile* profile,
const DownloadItem& download_item) {
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
@@ -77,8 +77,8 @@ scoped_refptr<CrxInstaller> OpenChromeExtension(
ExtensionService* service = profile->GetExtensionService();
CHECK(service);
- scoped_refptr<CrxInstaller> installer(
- CrxInstaller::Create(
+ scoped_refptr<extensions::CrxInstaller> installer(
+ extensions::CrxInstaller::Create(
service,
CreateExtensionInstallPrompt(profile),
WebstoreInstaller::GetAssociatedApproval(download_item)));
@@ -88,7 +88,7 @@ scoped_refptr<CrxInstaller> OpenChromeExtension(
if (OffStoreInstallAllowedByPrefs(profile, download_item)) {
installer->set_off_store_install_allow_reason(
- CrxInstaller::OffStoreInstallAllowedBecausePref);
+ extensions::CrxInstaller::OffStoreInstallAllowedBecausePref);
}
if (extensions::UserScript::IsURLUserScript(download_item.GetURL(),
« no previous file with comments | « chrome/browser/download/download_crx_util.h ('k') | chrome/browser/download/download_crx_util_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698