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

Unified Diff: net/test/python_utils.cc

Issue 19052005: Move PathIsWritable, DirectoryExists, ContentsEqual, and TextContentsEqual to the 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
« no previous file with comments | « net/proxy/proxy_config_service_linux_unittest.cc ('k') | net/tools/testserver/run_testserver.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/test/python_utils.cc
diff --git a/net/test/python_utils.cc b/net/test/python_utils.cc
index 209b50a9eda1ebd0a8a5c8d169e379b83954b7b1..30c5f679a8adeed79b2d28d2232f4ad9478ff613 100644
--- a/net/test/python_utils.cc
+++ b/net/test/python_utils.cc
@@ -48,7 +48,7 @@ bool TryRelativeToDir(const base::FilePath& start_dir,
const base::FilePath& to_try,
base::FilePath* out_dir) {
base::FilePath dir(start_dir);
- while (!file_util::DirectoryExists(dir.Append(to_try))) {
+ while (!base::DirectoryExists(dir.Append(to_try))) {
base::FilePath parent = dir.DirName();
if (parent == dir) {
// We hit the root directory.
« no previous file with comments | « net/proxy/proxy_config_service_linux_unittest.cc ('k') | net/tools/testserver/run_testserver.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698