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

Unified Diff: chrome/common/logging_chrome.cc

Issue 89523002: Move Posix file utils to the base namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 1 month 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 | « chrome/browser/process_singleton_linux.cc ('k') | content/browser/fileapi/dragged_file_util_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/logging_chrome.cc
diff --git a/chrome/common/logging_chrome.cc b/chrome/common/logging_chrome.cc
index d227270957775b5107146fbd6df379f1c3a82472..81d657238f5ee508980d7341ce8dac77e055e2a1 100644
--- a/chrome/common/logging_chrome.cc
+++ b/chrome/common/logging_chrome.cc
@@ -176,12 +176,12 @@ base::FilePath SetUpSymlinkIfNeeded(const base::FilePath& symlink_path,
if (symlink_exists) // only warn if we might expect it to succeed.
DPLOG(WARNING) << "Unable to unlink " << symlink_path.value();
}
- if (!file_util::CreateSymbolicLink(target_path, symlink_path)) {
+ if (!base::CreateSymbolicLink(target_path, symlink_path)) {
DPLOG(ERROR) << "Unable to create symlink " << symlink_path.value()
<< " pointing at " << target_path.value();
}
} else {
- if (!file_util::ReadSymbolicLink(symlink_path, &target_path))
+ if (!base::ReadSymbolicLink(symlink_path, &target_path))
DPLOG(ERROR) << "Unable to read symlink " << symlink_path.value();
}
return target_path;
« no previous file with comments | « chrome/browser/process_singleton_linux.cc ('k') | content/browser/fileapi/dragged_file_util_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698