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

Unified Diff: tools/perf/measurements/startup.py

Issue 714273004: mac: Expose keychain access frequency to Telemetry. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@mock_keychain_sleep
Patch Set: Move GetEncryptionPassword so that it gets compiled on iOS. Created 5 years, 11 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
« no previous file with comments | « tools/perf/measurements/session_restore.py ('k') | tools/perf/measurements/tab_switching.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/perf/measurements/startup.py
diff --git a/tools/perf/measurements/startup.py b/tools/perf/measurements/startup.py
index 609a621c87ab71a936b0484d26aede8b025fda39..6dfdc5a20104bd4506c425e0886414b2f34c05e8 100644
--- a/tools/perf/measurements/startup.py
+++ b/tools/perf/measurements/startup.py
@@ -2,6 +2,7 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
+from metrics import keychain_metric
from metrics import startup_metric
from telemetry.page import page_test
@@ -29,12 +30,14 @@ class Startup(page_test.PageTest):
options.AppendExtraBrowserArgs([
'--enable-stats-collection-bindings'
])
+ keychain_metric.KeychainMetric.CustomizeBrowserOptions(options)
def RunNavigateSteps(self, page, tab):
# Overriden so that no page navigation occurs - startup to the NTP.
pass
def ValidateAndMeasurePage(self, page, tab, results):
+ keychain_metric.KeychainMetric().AddResults(tab, results)
startup_metric.StartupMetric().AddResults(tab, results)
« no previous file with comments | « tools/perf/measurements/session_restore.py ('k') | tools/perf/measurements/tab_switching.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698