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

Unified Diff: chrome/browser/chromeos/boot_times_loader.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/chromeos/boot_times_loader.cc
diff --git a/chrome/browser/chromeos/boot_times_loader.cc b/chrome/browser/chromeos/boot_times_loader.cc
index a9919ae301a600e91f3c636300bdc1622331d42a..ead638daf1144b92ef02f19335762dc9f3b8307f 100644
--- a/chrome/browser/chromeos/boot_times_loader.cc
+++ b/chrome/browser/chromeos/boot_times_loader.cc
@@ -198,7 +198,7 @@ static void SendBootTimesToUMA(const BootTimesLoader::BootTimes& boot_times) {
static const base::FilePath::CharType kBootTimesSent[] =
FPL("/tmp/boot-times-sent");
base::FilePath sent(kBootTimesSent);
- if (file_util::PathExists(sent))
+ if (base::PathExists(sent))
return;
UMA_HISTOGRAM_TIMES("BootTime.Total",
@@ -228,7 +228,7 @@ static void SendBootTimesToUMA(const BootTimesLoader::BootTimes& boot_times) {
boot_times.system,
boot_times.chrome);
file_util::WriteFile(sent, boot_times_text.data(), boot_times_text.size());
- DCHECK(file_util::PathExists(sent));
+ DCHECK(base::PathExists(sent));
}
void BootTimesLoader::Backend::GetBootTimesAndRunCallback(
@@ -250,7 +250,7 @@ void BootTimesLoader::Backend::GetBootTimesAndRunCallback(
// Wait until firmware-boot-time file exists by reposting.
base::FilePath log_dir(kLogPath);
base::FilePath log_file = log_dir.Append(kFirmwareBootTime);
- if (!file_util::PathExists(log_file)) {
+ if (!base::PathExists(log_file)) {
BrowserThread::PostDelayedTask(
BrowserThread::FILE,
FROM_HERE,
« no previous file with comments | « chrome/browser/chromeos/app_mode/kiosk_app_data.cc ('k') | chrome/browser/chromeos/drive/fake_file_system.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698