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

Unified Diff: c_metrics_library.h

Issue 3171023: Add weekly crash counters, refactor metrics_daemon, respect opt-in in library. (Closed) Base URL: http://src.chromium.org/git/metrics.git
Patch Set: Respond to review Created 10 years, 4 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 | « no previous file | c_metrics_library.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: c_metrics_library.h
diff --git a/c_metrics_library.h b/c_metrics_library.h
index 6d1e6f907f7f41a8c6de6200a612151d1a152896..e691ad66ef7c4bfe7c962785ec241593d02d65fc 100644
--- a/c_metrics_library.h
+++ b/c_metrics_library.h
@@ -21,13 +21,17 @@ void CMetricsLibraryInit(CMetricsLibrary handle);
// C wrapper for MetricsLibrary::SendToUMA.
int CMetricsLibrarySendToUMA(CMetricsLibrary handle,
- const char* name, int sample,
- int min, int max, int nbuckets);
+ const char* name, int sample,
+ int min, int max, int nbuckets);
// C wrapper for MetricsLibrary::SendEnumToUMA.
int CMetricsLibrarySendEnumToUMA(CMetricsLibrary handle,
- const char* name, int sample, int max);
+ const char* name, int sample, int max);
+
+// C wrapper for MetricsLibrary::AreMetricsEnabled.
+int CMetricsLibraryAreMetricsEnabled(CMetricsLibrary handle);
+
#if defined(__cplusplus)
}
#endif
-#endif // C_METRICS_LIBRARY_H_
+#endif // C_METRICS_LIBRARY_H_
« no previous file with comments | « no previous file | c_metrics_library.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698