Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(7983)

Unified Diff: chrome/test/ui/ui_test.cc

Issue 12389073: Collect tab timing information for use in telementry-based startup tests (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix telemetry tests with reference builds. Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/test/ui/ui_test.cc
diff --git a/chrome/test/ui/ui_test.cc b/chrome/test/ui/ui_test.cc
index 8521934a76ba6a2681e0cfcbe92912d7ce31bc45..a7672982b4f182847a4add4ed23671224b00daa7 100644
--- a/chrome/test/ui/ui_test.cc
+++ b/chrome/test/ui/ui_test.cc
@@ -85,6 +85,7 @@ UITestBase::UITestBase()
homepage_(content::kAboutBlankURL),
wait_for_initial_loads_(true),
dom_automation_enabled_(false),
+ stats_collection_controller_enabled_(false),
show_window_(false),
clear_profile_(true),
include_testing_id_(true),
@@ -99,6 +100,7 @@ UITestBase::UITestBase(base::MessageLoop::Type msg_loop_type)
expected_crashes_(0),
wait_for_initial_loads_(true),
dom_automation_enabled_(false),
+ stats_collection_controller_enabled_(false),
show_window_(false),
clear_profile_(true),
include_testing_id_(true),
@@ -187,6 +189,8 @@ void UITestBase::SetLaunchSwitches() {
launch_arguments_.AppendSwitch(switches::kEnableFileCookies);
if (dom_automation_enabled_)
launch_arguments_.AppendSwitch(switches::kDomAutomationController);
+ if (stats_collection_controller_enabled_)
+ launch_arguments_.AppendSwitch(switches::kStatsCollectionController);
// Allow off-store extension installs.
launch_arguments_.AppendSwitchASCII(
switches::kEasyOffStoreExtensionInstall, "1");

Powered by Google App Engine
This is Rietveld 408576698