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

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..15df100ff986c9b87f9af0f03be7a1e15b86b157 100644
--- a/chrome/browser/safe_browsing/safe_browsing_store_file.h
+++ b/chrome/browser/safe_browsing/safe_browsing_store_file.h
@@ -11,7 +11,7 @@
#include "chrome/browser/safe_browsing/safe_browsing_store.h"
#include "base/callback.h"
-#include "base/file_util.h"
+#include "base/files/scoped_file.h"
// Implement SafeBrowsingStore in terms of a flat file. The file
// format is pretty literal:
@@ -266,8 +266,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

Powered by Google App Engine
This is Rietveld 408576698