summaryrefslogtreecommitdiffstats
path: root/extensions/shell/browser/shell_browser_main_parts.cc
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/shell/browser/shell_browser_main_parts.cc')
-rw-r--r--extensions/shell/browser/shell_browser_main_parts.cc18
1 files changed, 0 insertions, 18 deletions
diff --git a/extensions/shell/browser/shell_browser_main_parts.cc b/extensions/shell/browser/shell_browser_main_parts.cc
index 073dacb..0153679 100644
--- a/extensions/shell/browser/shell_browser_main_parts.cc
+++ b/extensions/shell/browser/shell_browser_main_parts.cc
@@ -73,13 +73,6 @@ using content::BrowserThread;
namespace extensions {
-namespace {
-
-void CrxInstallComplete(bool success) {
- VLOG(1) << "CRX download complete. Success: " << success;
-}
-}
-
ShellBrowserMainParts::ShellBrowserMainParts(
const content::MainFunctionParams& parameters,
ShellBrowserMainDelegate* browser_main_delegate)
@@ -211,17 +204,6 @@ void ShellBrowserMainParts::PreMainMessageLoopRun() {
base::Bind(nacl::NaClProcessHost::EarlyStartup));
#endif
- // TODO(rockot): Remove this temporary hack test.
- std::string install_crx_id =
- cmd->GetSwitchValueASCII(switches::kAppShellInstallCrx);
- if (install_crx_id.size() != 0) {
- CHECK(install_crx_id.size() == 32)
- << "Extension ID must be exactly 32 characters long.";
- UpdateService* update_service = UpdateService::Get(browser_context_.get());
- update_service->DownloadAndInstall(install_crx_id,
- base::Bind(CrxInstallComplete));
- }
-
devtools_http_handler_.reset(
content::ShellDevToolsManagerDelegate::CreateHttpHandler(
browser_context_.get()));