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

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

Issue 105293002: Move more file_util functions to base namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years 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 8aa5dadfd56ea09a3ad3d6dfc14377d5a3e69167..3eef5a9aec8fe61af3cdb60f483c91650d28c497 100644
--- a/chrome/browser/safe_browsing/safe_browsing_database.cc
+++ b/chrome/browser/safe_browsing/safe_browsing_database.cc
@@ -612,7 +612,7 @@ void SafeBrowsingDatabaseNew::Init(const base::FilePath& filename_base) {
// If there is no database, the filter cannot be used.
base::PlatformFileInfo db_info;
- if (file_util::GetFileInfo(side_effect_free_whitelist_filename_, &db_info)
+ if (base::GetFileInfo(side_effect_free_whitelist_filename_, &db_info)
&& db_info.size != 0) {
const base::TimeTicks before = base::TimeTicks::Now();
side_effect_free_whitelist_prefix_set_.reset(
@@ -1609,7 +1609,7 @@ void SafeBrowsingDatabaseNew::LoadPrefixSet() {
// If there is no database, the filter cannot be used.
base::PlatformFileInfo db_info;
- if (!file_util::GetFileInfo(browse_filename_, &db_info) || db_info.size == 0)
+ if (!base::GetFileInfo(browse_filename_, &db_info) || db_info.size == 0)
return;
// Cleanup any stale bloom filter (no longer used).
« no previous file with comments | « chrome/browser/policy/policy_loader_mac.cc ('k') | chrome/browser/safe_browsing/safe_browsing_database_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698