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

Unified Diff: chrome/browser/safe_browsing/prefix_set.cc

Issue 196073002: Move ScopedFILE to base namespace and scoped_file.h (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 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
« no previous file with comments | « base/memory/shared_memory_posix.cc ('k') | chrome/browser/safe_browsing/prefix_set_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/safe_browsing/prefix_set.cc
diff --git a/chrome/browser/safe_browsing/prefix_set.cc b/chrome/browser/safe_browsing/prefix_set.cc
index 280f56f4088710fcc63cd76f044ea336bcaf4016..006f17c3a1705495903de02f4f9df6d50084ae83 100644
--- a/chrome/browser/safe_browsing/prefix_set.cc
+++ b/chrome/browser/safe_browsing/prefix_set.cc
@@ -8,6 +8,7 @@
#include <math.h>
#include "base/file_util.h"
+#include "base/files/scoped_file.h"
#include "base/logging.h"
#include "base/md5.h"
#include "base/metrics/histogram.h"
@@ -165,7 +166,7 @@ PrefixSet* PrefixSet::LoadFile(const base::FilePath& filter_name) {
if (size_64 < static_cast<int64>(sizeof(FileHeader) + sizeof(MD5Digest)))
return NULL;
- file_util::ScopedFILE file(base::OpenFile(filter_name, "rb"));
+ base::ScopedFILE file(base::OpenFile(filter_name, "rb"));
if (!file.get())
return NULL;
@@ -261,7 +262,7 @@ bool PrefixSet::WriteFile(const base::FilePath& filter_name) const {
return false;
}
- file_util::ScopedFILE file(base::OpenFile(filter_name, "wb"));
+ base::ScopedFILE file(base::OpenFile(filter_name, "wb"));
if (!file.get())
return false;
« no previous file with comments | « base/memory/shared_memory_posix.cc ('k') | chrome/browser/safe_browsing/prefix_set_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698