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

Unified Diff: components/metrics/public/interfaces/single_sample_metrics.mojom

Issue 2862333002: Revert of Add support for single sample metrics. (Closed)
Patch Set: Created 3 years, 7 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 | « components/metrics/public/interfaces/BUILD.gn ('k') | components/metrics/single_sample_metrics.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/metrics/public/interfaces/single_sample_metrics.mojom
diff --git a/components/metrics/public/interfaces/single_sample_metrics.mojom b/components/metrics/public/interfaces/single_sample_metrics.mojom
deleted file mode 100644
index 788150c01888b4cb0a72e4b6912fdda1897fbef0..0000000000000000000000000000000000000000
--- a/components/metrics/public/interfaces/single_sample_metrics.mojom
+++ /dev/null
@@ -1,24 +0,0 @@
-// Copyright 2017 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 metrics.mojom;
-
-// See components/metrics/single_sample_metrics_factory_impl.h for details.
-interface SingleSampleMetricsProvider {
- // Returns a SingleSampleMetric.
- //
- // A single sample metric only reports its sample once at destruction time.
- // The sample may be changed prior to destruction using the SetSample() method
- // as many times as desired.
- //
- // See base/metrics/histograms.h for parameter definitions. |request| is the
- // returned histogram.
- AcquireSingleSampleMetric(string histogram_name, int32 min, int32 max,
- uint32 bucket_count, int32 flags,
- SingleSampleMetric& request);
-};
-
-interface SingleSampleMetric {
- SetSample(int32 sample);
-};
« no previous file with comments | « components/metrics/public/interfaces/BUILD.gn ('k') | components/metrics/single_sample_metrics.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698