Index: components/test/run_all_unittests.cc |
diff --git a/components/test/run_all_unittests.cc b/components/test/run_all_unittests.cc |
index 77c8559d71f4034d0cc9d770f90318f13ab8d0eb..bb8caa4f3d56101a79aab796a41c22a0e2531cb6 100644 |
--- a/components/test/run_all_unittests.cc |
+++ b/components/test/run_all_unittests.cc |
@@ -3,6 +3,7 @@ |
// found in the LICENSE file. |
#include "base/bind.h" |
+#include "base/command_line.h" |
#include "base/files/file_path.h" |
#include "base/macros.h" |
#include "base/memory/scoped_ptr.h" |
@@ -137,6 +138,10 @@ class ComponentsUnitTestEventListener : public testing::EmptyTestEventListener { |
int main(int argc, char** argv) { |
ComponentsTestSuite test_suite(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"); |
+ |
// The listener will set up common test environment for all components unit |
// tests. |
testing::TestEventListeners& listeners = |