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

Unified Diff: chrome/browser/media/chrome_webrtc_video_quality_browsertest.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
« no previous file with comments | « chrome/browser/media/chrome_webrtc_browsertest.cc ('k') | chrome/browser/media/webrtc_log_uploader.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/media/chrome_webrtc_video_quality_browsertest.cc
diff --git a/chrome/browser/media/chrome_webrtc_video_quality_browsertest.cc b/chrome/browser/media/chrome_webrtc_video_quality_browsertest.cc
index 8dd7d18550fe86639086806389d62d08e9e553d1..c6036a895933924f1ac53f2cc5b70118671ef9cf 100644
--- a/chrome/browser/media/chrome_webrtc_video_quality_browsertest.cc
+++ b/chrome/browser/media/chrome_webrtc_video_quality_browsertest.cc
@@ -109,12 +109,12 @@ class WebrtcVideoQualityBrowserTest : public InProcessBrowserTest {
InProcessBrowserTest::SetUp();
// Ensure we have the stuff we need.
- EXPECT_TRUE(file_util::PathExists(GetWorkingDir()))
+ EXPECT_TRUE(base::PathExists(GetWorkingDir()))
<< "Cannot find the working directory for the reference video and "
"the temporary files:" << GetWorkingDir().value();
base::FilePath reference_file =
GetWorkingDir().Append(kReferenceYuvFileName);
- EXPECT_TRUE(file_util::PathExists(reference_file))
+ EXPECT_TRUE(base::PathExists(reference_file))
<< "Cannot find the reference file to be used for video quality "
<< "comparison: " << reference_file.value();
}
@@ -144,9 +144,9 @@ class WebrtcVideoQualityBrowserTest : public InProcessBrowserTest {
base::FilePath path_to_data_handler =
GetSourceDir().Append(FILE_PATH_LITERAL("chrome/test/functional"));
- EXPECT_TRUE(file_util::PathExists(pywebsocket_server))
+ EXPECT_TRUE(base::PathExists(pywebsocket_server))
<< "Fatal: missing pywebsocket server.";
- EXPECT_TRUE(file_util::PathExists(path_to_data_handler))
+ EXPECT_TRUE(base::PathExists(path_to_data_handler))
<< "Fatal: missing data handler for pywebsocket server.";
AppendToPythonPath(path_pywebsocket_dir);
@@ -277,7 +277,7 @@ class WebrtcVideoQualityBrowserTest : public InProcessBrowserTest {
const base::FilePath& captured_video_filename) {
base::FilePath path_to_converter = base::MakeAbsoluteFilePath(
GetBrowserDir().Append(kArgbToI420ConverterExecutable));
- EXPECT_TRUE(file_util::PathExists(path_to_converter))
+ EXPECT_TRUE(base::PathExists(path_to_converter))
<< "Missing ARGB->I420 converter: should be in "
<< path_to_converter.value();
@@ -315,9 +315,9 @@ class WebrtcVideoQualityBrowserTest : public InProcessBrowserTest {
base::FilePath path_to_compare_script = GetSourceDir().Append(
FILE_PATH_LITERAL("third_party/webrtc/tools/compare_videos.py"));
- EXPECT_TRUE(file_util::PathExists(path_to_analyzer))
+ EXPECT_TRUE(base::PathExists(path_to_analyzer))
<< "Missing frame analyzer: should be in " << path_to_analyzer.value();
- EXPECT_TRUE(file_util::PathExists(path_to_compare_script))
+ EXPECT_TRUE(base::PathExists(path_to_compare_script))
<< "Missing video compare script: should be in "
<< path_to_compare_script.value();
@@ -427,7 +427,7 @@ class WebrtcVideoQualityBrowserTest : public InProcessBrowserTest {
base::FilePath peerconnection_server =
GetBrowserDir().Append(kPeerConnectionServer);
- EXPECT_TRUE(file_util::PathExists(peerconnection_server))
+ EXPECT_TRUE(base::PathExists(peerconnection_server))
<< "Missing peerconnection_server. You must build "
"it so it ends up next to the browser test binary.";
EXPECT_TRUE(base::LaunchProcess(CommandLine(peerconnection_server),
« no previous file with comments | « chrome/browser/media/chrome_webrtc_browsertest.cc ('k') | chrome/browser/media/webrtc_log_uploader.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698