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

Unified Diff: chromecast/browser/metrics/cast_metrics_service_client.h

Issue 701633002: Chromecast: adds handler to log metrics from external processes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: style nit Created 6 years, 1 month 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: chromecast/browser/metrics/cast_metrics_service_client.h
diff --git a/chromecast/browser/metrics/cast_metrics_service_client.h b/chromecast/browser/metrics/cast_metrics_service_client.h
index 605c91c124d6084e165acc746f07a482e5249bec..5cba73c0d275c1c068f11d525f6f3bc7ac918f01 100644
--- a/chromecast/browser/metrics/cast_metrics_service_client.h
+++ b/chromecast/browser/metrics/cast_metrics_service_client.h
@@ -30,6 +30,7 @@ class URLRequestContextGetter;
namespace chromecast {
namespace metrics {
+class ExternalMetrics;
class CastMetricsServiceClient : public ::metrics::MetricsServiceClient {
public:
@@ -69,6 +70,9 @@ class CastMetricsServiceClient : public ::metrics::MetricsServiceClient {
// Returns whether or not metrics reporting is enabled.
bool IsReportingEnabled();
+#if defined(OS_LINUX)
+ scoped_ptr<ExternalMetrics> external_metrics_;
+#endif // defined(OS_LINUX)
scoped_ptr< ::metrics::MetricsStateManager> metrics_state_manager_;
scoped_ptr< ::metrics::MetricsService> metrics_service_;
scoped_refptr<base::MessageLoopProxy> metrics_service_loop_;

Powered by Google App Engine
This is Rietveld 408576698