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

Unified Diff: chrome/browser/diagnostics/recon_diagnostics.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: chrome/browser/diagnostics/recon_diagnostics.cc
diff --git a/chrome/browser/diagnostics/recon_diagnostics.cc b/chrome/browser/diagnostics/recon_diagnostics.cc
index fc69ad762b9f4ffe278e254d4dced500415e6763..f2043e5262a721b9bef3556ab35d33bb0c53aff5 100644
--- a/chrome/browser/diagnostics/recon_diagnostics.cc
+++ b/chrome/browser/diagnostics/recon_diagnostics.cc
@@ -245,7 +245,7 @@ class PathTest : public DiagnosticsTest {
RecordStopFailure(DIAG_RECON_PATH_PROVIDER, "Path provider failure");
return false;
}
- if (!file_util::PathExists(dir_or_file)) {
+ if (!base::PathExists(dir_or_file)) {
RecordFailure(
DIAG_RECON_PATH_NOT_FOUND,
"Path not found: " + UTF16ToUTF8(dir_or_file.LossyDisplayName()));
@@ -332,7 +332,7 @@ class JSONTest : public DiagnosticsTest {
: DiagnosticsTest(id, name), path_(path), max_file_size_(max_file_size) {}
virtual bool ExecuteImpl(DiagnosticsModel::Observer* observer) OVERRIDE {
- if (!file_util::PathExists(path_)) {
+ if (!base::PathExists(path_)) {
RecordFailure(DIAG_RECON_FILE_NOT_FOUND, "File not found");
return true;
}
« no previous file with comments | « chrome/browser/content_settings/content_settings_browsertest.cc ('k') | chrome/browser/diagnostics/sqlite_diagnostics.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698