Index: chrome/browser/extensions/crx_installer.cc |
diff --git a/chrome/browser/extensions/crx_installer.cc b/chrome/browser/extensions/crx_installer.cc |
index e4e7d4aeee23cf49e5abc256f241dbad2ba0bd56..060956a9405625eb7d2436e25c2de85249368d4e 100644 |
--- a/chrome/browser/extensions/crx_installer.cc |
+++ b/chrome/browser/extensions/crx_installer.cc |
@@ -52,8 +52,6 @@ |
using content::BrowserThread; |
using content::UserMetricsAction; |
-using extensions::Extension; |
-using extensions::PermissionsUpdater; |
namespace { |
@@ -67,6 +65,8 @@ enum OffStoreInstallDecision { |
} // namespace |
+namespace extensions { |
not at google - send to devlin
2012/07/04 01:13:31
I think that usually the namespace would surround
|
+ |
// static |
scoped_refptr<CrxInstaller> CrxInstaller::Create( |
ExtensionService* frontend, |
@@ -141,8 +141,8 @@ CrxInstaller::~CrxInstaller() { |
void CrxInstaller::InstallCrx(const FilePath& source_file) { |
source_file_ = source_file; |
- scoped_refptr<extensions::SandboxedUnpacker> unpacker( |
- new extensions::SandboxedUnpacker( |
+ scoped_refptr<SandboxedUnpacker> unpacker( |
+ new SandboxedUnpacker( |
source_file, |
content::ResourceDispatcherHost::Get() != NULL, |
install_source_, |
@@ -151,8 +151,7 @@ void CrxInstaller::InstallCrx(const FilePath& source_file) { |
if (!BrowserThread::PostTask( |
BrowserThread::FILE, FROM_HERE, |
- base::Bind( |
- &extensions::SandboxedUnpacker::Start, unpacker.get()))) |
+ base::Bind(&SandboxedUnpacker::Start, unpacker.get()))) |
NOTREACHED(); |
} |
@@ -247,7 +246,7 @@ CrxInstallerError CrxInstaller::AllowInstall(const Extension* extension) { |
} |
if (install_cause_ == extension_misc::INSTALL_CAUSE_USER_DOWNLOAD) { |
- if (extensions::switch_utils::IsEasyOffStoreInstallEnabled()) { |
+ if (switch_utils::IsEasyOffStoreInstallEnabled()) { |
const char* kHistogramName = "Extensions.OffStoreInstallDecisionEasy"; |
if (is_gallery_install()) { |
UMA_HISTOGRAM_ENUMERATION(kHistogramName, OnStoreInstall, |
@@ -624,3 +623,5 @@ void CrxInstaller::NotifyCrxInstallComplete(const Extension* extension) { |
content::Source<CrxInstaller>(this), |
content::Details<const Extension>(extension)); |
} |
+ |
+} // namespace extensions |