Update the libmetrics API to match the new Chrome interface.

Review URL: http://codereview.chromium.org/1642018
diff --git a/metrics/metrics_daemon.h b/metrics/metrics_daemon.h
index dc097b5..b18e366 100644
--- a/metrics/metrics_daemon.h
+++ b/metrics/metrics_daemon.h
@@ -63,11 +63,11 @@
   // Given a string with the name of a state, returns the id for the state.
   NetworkStateId GetNetworkStateId(const char* state_name);
 
-  // Sends a stat to Chrome for transport to UMA.
-  void ChromePublishMetric(const char* name, int value);
-
-  // Prints a stat for testing.
-  void TestPublishMetric(const char* name, int value);
+  // Sends a stat to Chrome for transport to UMA (or prints it for
+  // testing). See MetricsLibrary::SendToChrome in metrics_library.h
+  // for a description of the arguments.
+  void PublishMetric(const char* name, int sample,
+                     int min, int max, int nbuckets);
 
 #if 0
   // Fetches a name-value hash table from DBus.