| Index: chrome/browser/captive_portal/captive_portal_service_unittest.cc
|
| ===================================================================
|
| --- chrome/browser/captive_portal/captive_portal_service_unittest.cc (revision 147935)
|
| +++ chrome/browser/captive_portal/captive_portal_service_unittest.cc (working copy)
|
| @@ -138,8 +138,13 @@
|
|
|
| void Initialize(bool enable_on_command_line) {
|
| if (enable_on_command_line) {
|
| - CommandLine::ForCurrentProcess()->AppendSwitch(
|
| - switches::kCaptivePortalDetection);
|
| + CommandLine::ForCurrentProcess()->AppendSwitchASCII(
|
| + switches::kCaptivePortalDetection,
|
| + switches::kCaptivePortalDetectionEnabled);
|
| + } else {
|
| + CommandLine::ForCurrentProcess()->AppendSwitchASCII(
|
| + switches::kCaptivePortalDetection,
|
| + switches::kCaptivePortalDetectionDisabled);
|
| }
|
|
|
| profile_.reset(new TestingProfile());
|
|
|