Index: chrome/browser/extensions/crx_installer.cc |
diff --git a/chrome/browser/extensions/crx_installer.cc b/chrome/browser/extensions/crx_installer.cc |
index 1593aeacaa8cd6f3fccf7775af6c51fe207c08f6..f62c983a1f21b4d0edd4268d0c55c5ed989d7a82 100644 |
--- a/chrome/browser/extensions/crx_installer.cc |
+++ b/chrome/browser/extensions/crx_installer.cc |
@@ -1,4 +1,4 @@ |
-// Copyright (c) 2010 The Chromium Authors. All rights reserved. |
+// Copyright (c) 2011 The Chromium Authors. All rights reserved. |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
@@ -117,18 +117,9 @@ CrxInstaller::~CrxInstaller() { |
void CrxInstaller::InstallCrx(const FilePath& source_file) { |
source_file_ = source_file; |
- FilePath user_data_temp_dir; |
- { |
- // We shouldn't be doing disk IO on the UI thread. |
- // http://code.google.com/p/chromium/issues/detail?id=60634 |
- base::ThreadRestrictions::ScopedAllowIO allow_io; |
- CHECK(PathService::Get(chrome::DIR_USER_DATA_TEMP, &user_data_temp_dir)); |
- } |
- |
scoped_refptr<SandboxedExtensionUnpacker> unpacker( |
new SandboxedExtensionUnpacker( |
source_file, |
- user_data_temp_dir, |
g_browser_process->resource_dispatcher_host(), |
this)); |