Commit d52db894 authored by Matt Swartwout's avatar Matt Swartwout Committed by Commit Bot

Remove the --no-wifi flag

Bug: 169598735
Test: None
Change-Id: I86875685f252d46bc2a90a18b9d610594ec80f0e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2436314
Commit-Queue: Matt Swartwout <mwswartwout@google.com>
Auto-Submit: Matt Swartwout <mwswartwout@google.com>
Reviewed-by: default avatarAlex Sakhartchouk <alexst@chromium.org>
Cr-Commit-Position: refs/heads/master@{#812413}
parent 68bbc3c8
...@@ -30,9 +30,6 @@ const char kEnableLocalFileAccesses[] = "enable-local-file-accesses"; ...@@ -30,9 +30,6 @@ const char kEnableLocalFileAccesses[] = "enable-local-file-accesses";
// Override the URL to which metrics logs are sent for debugging. // Override the URL to which metrics logs are sent for debugging.
const char kOverrideMetricsUploadUrl[] = "override-metrics-upload-url"; const char kOverrideMetricsUploadUrl[] = "override-metrics-upload-url";
// Disable features that require WiFi management.
const char kNoWifi[] = "no-wifi";
// Only connect to WLAN interfaces. // Only connect to WLAN interfaces.
const char kRequireWlan[] = "require-wlan"; const char kRequireWlan[] = "require-wlan";
......
...@@ -29,7 +29,6 @@ extern const char kEnableLocalFileAccesses[]; ...@@ -29,7 +29,6 @@ extern const char kEnableLocalFileAccesses[];
extern const char kOverrideMetricsUploadUrl[]; extern const char kOverrideMetricsUploadUrl[];
// Network switches // Network switches
extern const char kNoWifi[];
extern const char kRequireWlan[]; extern const char kRequireWlan[];
// Switches to communicate app state information // Switches to communicate app state information
......
...@@ -266,7 +266,6 @@ class BindingsManagerCastBrowserTest : public content::BrowserTestBase { ...@@ -266,7 +266,6 @@ class BindingsManagerCastBrowserTest : public content::BrowserTestBase {
BrowserTestBase::SetUp(); BrowserTestBase::SetUp();
} }
void SetUpCommandLine(base::CommandLine* command_line) final { void SetUpCommandLine(base::CommandLine* command_line) final {
command_line->AppendSwitch(switches::kNoWifi);
command_line->AppendSwitchASCII(switches::kTestType, "browser"); command_line->AppendSwitchASCII(switches::kTestType, "browser");
} }
......
...@@ -240,7 +240,6 @@ class CastWebContentsBrowserTest : public content::BrowserTestBase, ...@@ -240,7 +240,6 @@ class CastWebContentsBrowserTest : public content::BrowserTestBase,
BrowserTestBase::SetUp(); BrowserTestBase::SetUp();
} }
void SetUpCommandLine(base::CommandLine* command_line) final { void SetUpCommandLine(base::CommandLine* command_line) final {
command_line->AppendSwitch(switches::kNoWifi);
command_line->AppendSwitchASCII(switches::kTestType, "browser"); command_line->AppendSwitchASCII(switches::kTestType, "browser");
} }
void PreRunTestOnMainThread() override { void PreRunTestOnMainThread() override {
......
...@@ -39,7 +39,6 @@ class RendererPrelauncherTest : public content::BrowserTestBase { ...@@ -39,7 +39,6 @@ class RendererPrelauncherTest : public content::BrowserTestBase {
void RendererPrelauncherTest::SetUp() { void RendererPrelauncherTest::SetUp() {
base::CommandLine* command_line = base::CommandLine::ForCurrentProcess(); base::CommandLine* command_line = base::CommandLine::ForCurrentProcess();
command_line->AppendSwitch(switches::kNoWifi);
command_line->AppendSwitchASCII(switches::kTestType, "browser"); command_line->AppendSwitchASCII(switches::kTestType, "browser");
BrowserTestBase::SetUp(); BrowserTestBase::SetUp();
......
...@@ -36,7 +36,6 @@ void CastBrowserTest::SetUp() { ...@@ -36,7 +36,6 @@ void CastBrowserTest::SetUp() {
} }
void CastBrowserTest::SetUpCommandLine(base::CommandLine* command_line) { void CastBrowserTest::SetUpCommandLine(base::CommandLine* command_line) {
command_line->AppendSwitch(switches::kNoWifi);
command_line->AppendSwitchASCII(switches::kTestType, "browser"); command_line->AppendSwitchASCII(switches::kTestType, "browser");
} }
......
...@@ -69,7 +69,6 @@ class WebviewTest : public content::BrowserTestBase { ...@@ -69,7 +69,6 @@ class WebviewTest : public content::BrowserTestBase {
context_.reset(); context_.reset();
} }
void SetUpCommandLine(base::CommandLine* command_line) final { void SetUpCommandLine(base::CommandLine* command_line) final {
command_line->AppendSwitch(switches::kNoWifi);
command_line->AppendSwitchASCII(switches::kTestType, "browser"); command_line->AppendSwitchASCII(switches::kTestType, "browser");
} }
void RunTestOnMainThread() override {} void RunTestOnMainThread() override {}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment