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

Unified Diff: chrome/browser/diagnostics/recon_diagnostics.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
Index: chrome/browser/diagnostics/recon_diagnostics.cc
diff --git a/chrome/browser/diagnostics/recon_diagnostics.cc b/chrome/browser/diagnostics/recon_diagnostics.cc
index f2043e5262a721b9bef3556ab35d33bb0c53aff5..059d6fc0009ccd47fc514b3c3fef9f85687a7f95 100644
--- a/chrome/browser/diagnostics/recon_diagnostics.cc
+++ b/chrome/browser/diagnostics/recon_diagnostics.cc
@@ -278,7 +278,7 @@ class PathTest : public DiagnosticsTest {
RecordSuccess("Path exists");
return true;
}
- if (!file_util::PathIsWritable(dir_or_file)) {
+ if (!base::PathIsWritable(dir_or_file)) {
RecordFailure(DIAG_RECON_NOT_WRITABLE,
"Path is not writable: " +
UTF16ToUTF8(dir_or_file.LossyDisplayName()));

Powered by Google App Engine
This is Rietveld 408576698