Index: chrome/test/base/run_all_unittests.cc |
diff --git a/chrome/test/base/run_all_unittests.cc b/chrome/test/base/run_all_unittests.cc |
index e2fb97599977fb1dd62121148a2123b95713efae..1e436974399b838948cfe0e4a6e5ffa14b25d22c 100644 |
--- a/chrome/test/base/run_all_unittests.cc |
+++ b/chrome/test/base/run_all_unittests.cc |
@@ -3,6 +3,7 @@ |
// found in the LICENSE file. |
#include "base/bind.h" |
+#include "base/command_line.h" |
#include "base/test/launcher/unit_test_launcher.h" |
#include "chrome/test/base/chrome_unit_test_suite.h" |
#include "content/public/test/unittest_test_suite.h" |
@@ -11,6 +12,10 @@ |
int main(int argc, char **argv) { |
content::UnitTestTestSuite test_suite(new ChromeUnitTestSuite(argc, argv)); |
+ // 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"); |
+ |
mojo::embedder::Init(); |
return base::LaunchUnitTests( |
argc, argv, base::Bind(&content::UnitTestTestSuite::Run, |