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

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: formatting/compile fix Created 7 years, 9 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 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");

Powered by Google App Engine
This is Rietveld 408576698