Index: chrome/browser/extensions/sandboxed_unpacker.cc |
diff --git a/chrome/browser/extensions/sandboxed_unpacker.cc b/chrome/browser/extensions/sandboxed_unpacker.cc |
index 85e3cfd30804116cfe6bb219e655926bb3a71cf0..5b3d00d9f0e699f66b53493c31ed4a947a9ea260 100644 |
--- a/chrome/browser/extensions/sandboxed_unpacker.cc |
+++ b/chrome/browser/extensions/sandboxed_unpacker.cc |
@@ -11,8 +11,8 @@ |
#include "base/command_line.h" |
#include "base/file_util.h" |
#include "base/files/file_util_proxy.h" |
+#include "base/files/scoped_file.h" |
#include "base/json/json_string_value_serializer.h" |
-#include "base/memory/scoped_handle.h" |
#include "base/message_loop/message_loop.h" |
#include "base/metrics/histogram.h" |
#include "base/numerics/safe_conversions.h" |
@@ -420,7 +420,7 @@ void SandboxedUnpacker::OnUnpackExtensionFailed(const base::string16& error) { |
} |
bool SandboxedUnpacker::ValidateSignature() { |
- ScopedStdioHandle file(base::OpenFile(crx_path_, "rb")); |
+ base::ScopedFILE file(base::OpenFile(crx_path_, "rb")); |
if (!file.get()) { |
// Could not open crx file for reading. |