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

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

Issue 101143006: Convert base::file_util to use File instead of PlatformFile. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove base:: Created 6 years, 11 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_database.cc
diff --git a/chrome/browser/safe_browsing/safe_browsing_database.cc b/chrome/browser/safe_browsing/safe_browsing_database.cc
index 3eef5a9aec8fe61af3cdb60f483c91650d28c497..28836fc01532269165388f987aa7ab086d0b2bfe 100644
--- a/chrome/browser/safe_browsing/safe_browsing_database.cc
+++ b/chrome/browser/safe_browsing/safe_browsing_database.cc
@@ -611,7 +611,7 @@ void SafeBrowsingDatabaseNew::Init(const base::FilePath& filename_base) {
<< side_effect_free_whitelist_filename_.value();
// If there is no database, the filter cannot be used.
- base::PlatformFileInfo db_info;
+ base::File::Info db_info;
if (base::GetFileInfo(side_effect_free_whitelist_filename_, &db_info)
&& db_info.size != 0) {
const base::TimeTicks before = base::TimeTicks::Now();
@@ -1608,7 +1608,7 @@ void SafeBrowsingDatabaseNew::LoadPrefixSet() {
DCHECK(!browse_prefix_set_filename_.empty());
// If there is no database, the filter cannot be used.
- base::PlatformFileInfo db_info;
+ base::File::Info db_info;
if (!base::GetFileInfo(browse_filename_, &db_info) || db_info.size == 0)
return;

Powered by Google App Engine
This is Rietveld 408576698