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

Unified Diff: chrome/browser/safe_browsing/safe_browsing_store_file.h

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
Index: chrome/browser/safe_browsing/safe_browsing_store_file.h
diff --git a/chrome/browser/safe_browsing/safe_browsing_store_file.h b/chrome/browser/safe_browsing/safe_browsing_store_file.h
index 4e9766b52c01a49e33862818468d3125bdd1af7b..c7047103de429fb15a60d33a5745c9982e66c032 100644
--- a/chrome/browser/safe_browsing/safe_browsing_store_file.h
+++ b/chrome/browser/safe_browsing/safe_browsing_store_file.h
@@ -11,7 +11,8 @@
#include "chrome/browser/safe_browsing/safe_browsing_store.h"
#include "base/callback.h"
-#include "base/file_util.h"
+#include "base/files/file_path.h"
+#include "base/files/scoped_file.h"
// Implement SafeBrowsingStore in terms of a flat file. The file
// format is pretty literal:
@@ -266,8 +267,8 @@ class SafeBrowsingStoreFile : public SafeBrowsingStore {
// Handles to the main and scratch files. |empty_| is true if the
// main file didn't exist when the update was started.
- file_util::ScopedFILE file_;
- file_util::ScopedFILE new_file_;
+ base::ScopedFILE file_;
+ base::ScopedFILE new_file_;
bool empty_;
// Cache of chunks which have been seen. Loaded from the database
« no previous file with comments | « chrome/browser/safe_browsing/prefix_set_unittest.cc ('k') | chrome/browser/safe_browsing/safe_browsing_store_file.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698