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

Unified Diff: chrome/browser/captive_portal/captive_portal_browsertest.cc

Issue 10795038: Enable captive portal detection by default. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: sync Created 8 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/captive_portal/captive_portal_browsertest.cc
===================================================================
--- chrome/browser/captive_portal/captive_portal_browsertest.cc (revision 147935)
+++ chrome/browser/captive_portal/captive_portal_browsertest.cc (working copy)
@@ -913,7 +913,8 @@
void CaptivePortalBrowserTest::SetUpCommandLine(
CommandLine* command_line) {
- command_line->AppendSwitch(switches::kCaptivePortalDetection);
+ command_line->AppendSwitchASCII(switches::kCaptivePortalDetection,
+ switches::kCaptivePortalDetectionEnabled);
}
void CaptivePortalBrowserTest::EnableCaptivePortalDetection(

Powered by Google App Engine
This is Rietveld 408576698