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

Unified Diff: content/browser/storage_partition_impl_map.cc

Issue 18286004: Move PathExists to base namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 5 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: content/browser/storage_partition_impl_map.cc
diff --git a/content/browser/storage_partition_impl_map.cc b/content/browser/storage_partition_impl_map.cc
index 3750a723d55a6cb31fc20a4e290a86ea46ecfdb0..1915baf8efc270137c83c6272674c8462d33792a 100644
--- a/content/browser/storage_partition_impl_map.cc
+++ b/content/browser/storage_partition_impl_map.cc
@@ -259,7 +259,7 @@ void BlockingObliteratePath(
// Early exit required because MakeAbsoluteFilePath() will fail on POSIX
// if |unnormalized_root| does not exist. This is safe because there is
// nothing to do in this situation anwyays.
- if (!file_util::PathExists(unnormalized_root)) {
+ if (!base::PathExists(unnormalized_root)) {
return;
}
@@ -277,7 +277,7 @@ void BlockingObliteratePath(
for (std::vector<base::FilePath>::const_iterator it = paths_to_keep.begin();
it != paths_to_keep.end();
++it) {
- if (root.IsParent(*it) && file_util::PathExists(*it))
+ if (root.IsParent(*it) && base::PathExists(*it))
valid_paths_to_keep.push_back(*it);
}

Powered by Google App Engine
This is Rietveld 408576698