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

Side by Side Diff: c_metrics_library.h

Issue 6211001: metrics: Send ability to notify chrome of system crashes (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/metrics.git@master
Patch Set: respond to review Created 9 years, 11 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | c_metrics_library.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2010 The Chromium OS Authors. All rights reserved. 1 // Copyright (c) 2010 The Chromium OS Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef C_METRICS_LIBRARY_H_ 5 #ifndef C_METRICS_LIBRARY_H_
6 #define C_METRICS_LIBRARY_H_ 6 #define C_METRICS_LIBRARY_H_
7 7
8 #if defined(__cplusplus) 8 #if defined(__cplusplus)
9 extern "C" { 9 extern "C" {
10 #endif 10 #endif
(...skipping 14 matching lines...) Expand all
25 int min, int max, int nbuckets); 25 int min, int max, int nbuckets);
26 26
27 // C wrapper for MetricsLibrary::SendEnumToUMA. 27 // C wrapper for MetricsLibrary::SendEnumToUMA.
28 int CMetricsLibrarySendEnumToUMA(CMetricsLibrary handle, 28 int CMetricsLibrarySendEnumToUMA(CMetricsLibrary handle,
29 const char* name, int sample, int max); 29 const char* name, int sample, int max);
30 30
31 // C wrapper for MetricsLibrary::SendUserActionToUMA. 31 // C wrapper for MetricsLibrary::SendUserActionToUMA.
32 int CMetricsLibrarySendUserActionToUMA(CMetricsLibrary handle, 32 int CMetricsLibrarySendUserActionToUMA(CMetricsLibrary handle,
33 const char* action); 33 const char* action);
34 34
35 // C wrapper for MetricsLibrary::SendCrashToUMA.
36 int CMetricsLibrarySendCrashToUMA(CMetricsLibrary handle,
37 const char* crash_kind);
38
35 // C wrapper for MetricsLibrary::AreMetricsEnabled. 39 // C wrapper for MetricsLibrary::AreMetricsEnabled.
36 int CMetricsLibraryAreMetricsEnabled(CMetricsLibrary handle); 40 int CMetricsLibraryAreMetricsEnabled(CMetricsLibrary handle);
37 41
38 #if defined(__cplusplus) 42 #if defined(__cplusplus)
39 } 43 }
40 #endif 44 #endif
41 #endif // C_METRICS_LIBRARY_H_ 45 #endif // C_METRICS_LIBRARY_H_
OLDNEW
« 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