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

Unified Diff: content/common/metrics.mojom

Issue 2687583002: Add support for single sample metrics. (Closed)
Patch Set: Add mojo approach. Created 3 years, 10 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: content/common/metrics.mojom
diff --git a/content/common/metrics.mojom b/content/common/metrics.mojom
new file mode 100644
index 0000000000000000000000000000000000000000..61fad8806424f714d556255d8639c8a3c06c41d7
--- /dev/null
+++ b/content/common/metrics.mojom
@@ -0,0 +1,10 @@
+// Copyright 2016 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+module content.mojom;
+
+interface OneShotMetricHost {
+ Initialize(string name, int32 min, int32 max, uint32 bucket_count);
+ SetSample(int32 sample);
+};

Powered by Google App Engine
This is Rietveld 408576698