Index: net/test/run_all_unittests.cc |
diff --git a/net/test/run_all_unittests.cc b/net/test/run_all_unittests.cc |
index 87f757ac402c3ac7f91af07ff7e5093f7c474108..a502eb6a2f62e760eb7fb53b48b40a1880d07428 100644 |
--- a/net/test/run_all_unittests.cc |
+++ b/net/test/run_all_unittests.cc |
@@ -2,6 +2,7 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
+#include "base/command_line.h" |
#include "base/metrics/statistics_recorder.h" |
#include "base/test/launcher/unit_test_launcher.h" |
#include "build/build_config.h" |
@@ -58,6 +59,10 @@ int main(int argc, char** argv) { |
NetTestSuite test_suite(argc, argv); |
ClientSocketPoolBaseHelper::set_connect_backup_jobs_enabled(false); |
+ // TODO(use_chrome_edk): This flag will go away and be default behavior soon, |
+ // but we explicitly add it here for test coverage. |
+ base::CommandLine::ForCurrentProcess()->AppendSwitch("use-new-edk"); |
+ |
#if defined(OS_WIN) && !defined(USE_OPENSSL) |
// We want to be sure to init NSPR on the main thread. |
crypto::EnsureNSPRInit(); |