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

Unified Diff: components/metrics/histogram_encoder.h

Issue 800363002: Revert "Add UMA Histogram Manager to Cronet." (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years 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/BUILD.gn ('k') | components/metrics/histogram_encoder.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/metrics/histogram_encoder.h
diff --git a/components/metrics/histogram_encoder.h b/components/metrics/histogram_encoder.h
deleted file mode 100644
index 015119452a5b5bc9c33964ef0d6e3eea84dd3109..0000000000000000000000000000000000000000
--- a/components/metrics/histogram_encoder.h
+++ /dev/null
@@ -1,30 +0,0 @@
-// Copyright 2014 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.
-
-// This file defines an utility function that records any changes in a given
-// histogram for transmission.
-
-#ifndef COMPONENTS_METRICS_HISTOGRAM_ENCODER_H_
-#define COMPONENTS_METRICS_HISTOGRAM_ENCODER_H_
-
-#include <string>
-
-#include "base/basictypes.h"
-#include "components/metrics/proto/chrome_user_metrics_extension.pb.h"
-
-namespace base {
-class HistogramSamples;
-}
-
-namespace metrics {
-
-// Record any changes (histogram deltas of counts from |snapshot|) into
-// |uma_proto| for the given histogram (|histogram_name|).
-void EncodeHistogramDelta(const std::string& histogram_name,
- const base::HistogramSamples& snapshot,
- ChromeUserMetricsExtension* uma_proto);
-
-} // namespace metrics
-
-#endif // COMPONENTS_METRICS_HISTOGRAM_ENCODER_H_
« no previous file with comments | « components/metrics/BUILD.gn ('k') | components/metrics/histogram_encoder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698