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

Unified Diff: chrome/browser/media/chrome_webrtc_apprtc_browsertest.cc

Issue 816403003: Make callers of CommandLine use it via the base:: namespace. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix Created 6 years 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/media/chrome_webrtc_apprtc_browsertest.cc
diff --git a/chrome/browser/media/chrome_webrtc_apprtc_browsertest.cc b/chrome/browser/media/chrome_webrtc_apprtc_browsertest.cc
index 0e2a67941ca73a9cb38d1b5113769f7db8cc65ee..350f52541120e93458356b89d89c7ecd6e2e3b69 100644
--- a/chrome/browser/media/chrome_webrtc_apprtc_browsertest.cc
+++ b/chrome/browser/media/chrome_webrtc_apprtc_browsertest.cc
@@ -51,12 +51,12 @@ class WebRtcApprtcBrowserTest : public WebRtcTestBase {
public:
WebRtcApprtcBrowserTest() {}
- void SetUpCommandLine(CommandLine* command_line) override {
+ void SetUpCommandLine(base::CommandLine* command_line) override {
EXPECT_FALSE(command_line->HasSwitch(switches::kUseFakeUIForMediaStream));
// The video playback will not work without a GPU, so force its use here.
command_line->AppendSwitch(switches::kUseGpuInTests);
- CommandLine::ForCurrentProcess()->AppendSwitch(
+ base::CommandLine::ForCurrentProcess()->AppendSwitch(
switches::kUseFakeDeviceForMediaStream);
}
@@ -92,7 +92,7 @@ class WebRtcApprtcBrowserTest : public WebRtcTestBase {
return false;
}
- CommandLine command_line(CommandLine::NO_PROGRAM);
+ base::CommandLine command_line(base::CommandLine::NO_PROGRAM);
EXPECT_TRUE(GetPythonCommand(&command_line));
command_line.AppendArgPath(appengine_dev_appserver);
@@ -124,7 +124,7 @@ class WebRtcApprtcBrowserTest : public WebRtcTestBase {
return false;
}
- CommandLine command_line(collider_server);
+ base::CommandLine command_line(collider_server);
command_line.AppendArg("-tls=false");
command_line.AppendArg("-port=" + collider_port);
@@ -219,7 +219,7 @@ class WebRtcApprtcBrowserTest : public WebRtcTestBase {
return false;
}
- CommandLine command_line(firefox_launcher);
+ base::CommandLine command_line(firefox_launcher);
command_line.AppendSwitchPath("--binary", firefox_binary);
command_line.AppendSwitchASCII("--webpage", url.spec());

Powered by Google App Engine
This is Rietveld 408576698