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

Unified Diff: base/perf_util.h

Issue 714273004: mac: Expose keychain access frequency to Telemetry. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@mock_keychain_sleep
Patch Set: Add a common subclass to measurements. Created 6 years, 1 month 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 | « no previous file | base/perf_util.cc » ('j') | base/perf_util.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/perf_util.h
diff --git a/base/perf_util.h b/base/perf_util.h
index b1e30a6ab601a167ca1008e5d76a9fdcec8d5198..bd0d2b9a4c5b9b575b628569cec0824ea1f1d54b 100644
--- a/base/perf_util.h
+++ b/base/perf_util.h
@@ -13,6 +13,9 @@ namespace base {
// code.
void SpinCpuMicroseconds(int64_t microseconds);
+// Emits a local histogram indicating that the keychain was accessed.
+void EmitAccessKeychainHistogram();
+
} // namespace base
#endif // BASE_PERF_UTIL_H_
« no previous file with comments | « no previous file | base/perf_util.cc » ('j') | base/perf_util.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698