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

Unified Diff: testing/android/native_test_launcher.cc

Issue 12294008: Fix more remaining FilePath -> base::FilePath. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 10 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
« no previous file with comments | « net/android/keystore_unittest.cc ('k') | webkit/media/android/webmediaplayer_android.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: testing/android/native_test_launcher.cc
diff --git a/testing/android/native_test_launcher.cc b/testing/android/native_test_launcher.cc
index 68bb5d100eb98b0ab573da71856a637a29786938..a16b5366b2876f3643796ae951442a184c53eed7 100644
--- a/testing/android/native_test_launcher.cc
+++ b/testing/android/native_test_launcher.cc
@@ -109,25 +109,26 @@ static void RunTests(JNIEnv* env,
CommandLine(argc, &argv[0]), false);
const CommandLine& command_line = *CommandLine::ForCurrentProcess();
- FilePath files_dir(base::android::ConvertJavaStringToUTF8(env, jfiles_dir));
+ base::FilePath files_dir(
+ base::android::ConvertJavaStringToUTF8(env, jfiles_dir));
// A few options, such "--gtest_list_tests", will just use printf directly
// Always redirect stdout to a known file.
- FilePath fifo_path(files_dir.Append(FilePath("test.fifo")));
+ base::FilePath fifo_path(files_dir.Append(base::FilePath("test.fifo")));
CreateFIFO(fifo_path.value().c_str());
- FilePath stderr_fifo_path, stdin_fifo_path;
+ base::FilePath stderr_fifo_path, stdin_fifo_path;
// DumpRenderTree needs a separate fifo for the stderr output. For all
// other tests, insert stderr content to the same fifo we use for stdout.
if (command_line.HasSwitch(kSeparateStderrFifo)) {
- stderr_fifo_path = files_dir.Append(FilePath("stderr.fifo"));
+ stderr_fifo_path = files_dir.Append(base::FilePath("stderr.fifo"));
CreateFIFO(stderr_fifo_path.value().c_str());
}
// DumpRenderTree uses stdin to receive input about which test to run.
if (command_line.HasSwitch(kCreateStdinFifo)) {
- stdin_fifo_path = files_dir.Append(FilePath("stdin.fifo"));
+ stdin_fifo_path = files_dir.Append(base::FilePath("stdin.fifo"));
CreateFIFO(stdin_fifo_path.value().c_str());
}
« no previous file with comments | « net/android/keystore_unittest.cc ('k') | webkit/media/android/webmediaplayer_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698