| Index: chrome/test/ui/ui_test.cc
|
| diff --git a/chrome/test/ui/ui_test.cc b/chrome/test/ui/ui_test.cc
|
| index cf59949049e853a68e5f656b29bb2d688ae00399..680be98aa2324c4560d503f349a628c39ddb720c 100644
|
| --- a/chrome/test/ui/ui_test.cc
|
| +++ b/chrome/test/ui/ui_test.cc
|
| @@ -85,6 +85,7 @@ UITestBase::UITestBase()
|
| homepage_(chrome::kAboutBlankURL),
|
| wait_for_initial_loads_(true),
|
| dom_automation_enabled_(false),
|
| + stats_collection_extension_enabled_(false),
|
| show_window_(false),
|
| clear_profile_(true),
|
| include_testing_id_(true),
|
| @@ -100,6 +101,7 @@ UITestBase::UITestBase(MessageLoop::Type msg_loop_type)
|
| expected_crashes_(0),
|
| wait_for_initial_loads_(true),
|
| dom_automation_enabled_(false),
|
| + stats_collection_extension_enabled_(false),
|
| show_window_(false),
|
| clear_profile_(true),
|
| include_testing_id_(true),
|
| @@ -189,6 +191,8 @@ void UITestBase::SetLaunchSwitches() {
|
| launch_arguments_.AppendSwitch(switches::kEnableFileCookies);
|
| if (dom_automation_enabled_)
|
| launch_arguments_.AppendSwitch(switches::kDomAutomationController);
|
| + if (stats_collection_extension_enabled_)
|
| + launch_arguments_.AppendSwitch(switches::kStatsCollectionExtension);
|
| // Allow off-store extension installs.
|
| launch_arguments_.AppendSwitchASCII(
|
| switches::kEasyOffStoreExtensionInstall, "1");
|
|
|