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

Unified Diff: chrome/browser/extensions/api/record/record_api.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/extensions/api/record/record_api.cc
diff --git a/chrome/browser/extensions/api/record/record_api.cc b/chrome/browser/extensions/api/record/record_api.cc
index 866aae0d900cc29fa06b2c9abc0ac05f31d05329..820c346636da35f9d72050cb4b62706e79b98f35 100644
--- a/chrome/browser/extensions/api/record/record_api.cc
+++ b/chrome/browser/extensions/api/record/record_api.cc
@@ -125,14 +125,14 @@ void RunPageCyclerFunction::RunTestBrowser() {
// Run the test browser (or a mockup, depending on |process_strategy_|.
while (repeat_count_-- && errors_.empty() &&
- !file_util::PathExists(error_file_path))
+ !base::PathExists(error_file_path))
process_strategy_->RunProcess(line, &errors_);
// Read URL errors file if there is one, and save errors in |errors_|.
// Odd extension handling needed because temp files have lots of "."s in
// their names, and we need to cleanly add kURLErrorsSuffix as a final
// extension.
- if (errors_.empty() && file_util::PathExists(error_file_path)) {
+ if (errors_.empty() && base::PathExists(error_file_path)) {
std::string error_content;
file_util::ReadFileToString(error_file_path, &error_content);

Powered by Google App Engine
This is Rietveld 408576698