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

Unified Diff: src/platform/metrics/metrics_library.h

Issue 2037011: Remove the deprecated static metrics APIs. (Closed) Base URL: ssh://git@chromiumos-git/chromeos
Patch Set: Created 10 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 | « src/platform/metrics/metrics_client.cc ('k') | src/platform/metrics/metrics_library.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/platform/metrics/metrics_library.h
diff --git a/src/platform/metrics/metrics_library.h b/src/platform/metrics/metrics_library.h
index e5e9024c0d2a462f547bd3fc8cd09223c943140d..2a6412cb4cc0c8aca2bc5916230aede75b0730aa 100644
--- a/src/platform/metrics/metrics_library.h
+++ b/src/platform/metrics/metrics_library.h
@@ -2,13 +2,6 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-/*
- * metrics_library.h
- *
- * Created on: Dec 1, 2009
- * Author: sosa
- */
-
sosa 2010/05/12 22:04:09 Sadness
#ifndef METRICS_LIBRARY_H_
#define METRICS_LIBRARY_H_
@@ -45,10 +38,6 @@ class MetricsLibrary : public MetricsLibraryInterface {
bool SendToUMA(const std::string& name, int sample,
int min, int max, int nbuckets);
- // Deprecated.
- static bool SendToChrome(const std::string& name, int sample,
- int min, int max, int nbuckets);
-
// Sends linear histogram data to Chrome for transport to UMA and
// returns true on success. This method results in the equivalent of
// an asynchronous non-blocking RPC to UMA_HISTOGRAM_ENUMERATION
@@ -60,9 +49,6 @@ class MetricsLibrary : public MetricsLibraryInterface {
// [|max|,infinity) is the implicit overflow bucket.
bool SendEnumToUMA(const std::string& name, int sample, int max);
- // Deprecated.
- static bool SendEnumToChrome(const std::string& name, int sample, int max);
-
// Sends to Autotest and returns true on success.
static bool SendToAutotest(const std::string& name, int value);
};
« no previous file with comments | « src/platform/metrics/metrics_client.cc ('k') | src/platform/metrics/metrics_library.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698