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

Unified Diff: chrome/browser/extensions/sandboxed_unpacker.cc

Issue 324773002: Remove base/memory/scoped_handle.h (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 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
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.
« no previous file with comments | « chrome/browser/extensions/external_registry_loader_win.cc ('k') | chrome/browser/extensions/updater/extension_downloader.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698