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

Unified Diff: src/platform/metrics/README

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
Index: src/platform/metrics/README
diff --git a/src/platform/metrics/README b/src/platform/metrics/README
index d8f17c4445fc801774fb9e818c2aa43f4b4a191b..6d011dbfd05eaea7ef6bc8d234427b82f84dca5e 100644
--- a/src/platform/metrics/README
+++ b/src/platform/metrics/README
@@ -42,14 +42,9 @@ a module, you need to do the following:
int max)
sends a sample for an enumeration (linear) histogram.
- Currently, the API also includes two deprecated static methods:
-
- bool MetricsLibrary::SendToChrome(const std::string& name, int sample,
- int min, int max, int nbuckets)
- bool MetricsLibrary::SendEnumToChrome(const std::string& name, int sample,
- int max)
-
- See the API documentation in metrics_library.h under
+ Before using these methods, a MetricsLibrary object needs to be
+ constructed and initialized through its Init method. See the
+ complete API documentation in metrics_library.h under
src/platform/metrics/.
- On the target platform, shortly after the sample is sent it should

Powered by Google App Engine
This is Rietveld 408576698