Home
last modified time | relevance | path

Searched refs:ActionCallback (Results 1 – 3 of 3) sorted by relevance

/external/libchrome/base/metrics/
Duser_metrics.cc20 LazyInstance<std::vector<ActionCallback>>::DestructorAtExit g_callbacks =
43 for (const ActionCallback& callback : g_callbacks.Get()) { in RecordComputedAction()
48 void AddActionCallback(const ActionCallback& callback) { in AddActionCallback()
55 void RemoveActionCallback(const ActionCallback& callback) { in RemoveActionCallback()
58 std::vector<ActionCallback>* callbacks = g_callbacks.Pointer(); in RemoveActionCallback()
Duser_metrics.h59 typedef Callback<void(const std::string&)> ActionCallback; typedef
64 BASE_EXPORT void AddActionCallback(const ActionCallback& callback);
65 BASE_EXPORT void RemoveActionCallback(const ActionCallback& callback);
/external/perfetto/ui/src/frontend/
Draf_scheduler.ts46 export type ActionCallback = (nowMs: number) => void; alias
58 private actionCallbacks = new Set<ActionCallback>();
74 start(cb: ActionCallback) {
79 stop(cb: ActionCallback) {