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

Side by Side Diff: components/metrics/metrics_service_client.h

Issue 1818613002: Implement UMA log throttling for cellular connections (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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
« no previous file with comments | « components/metrics/metrics_service.cc ('k') | components/metrics/metrics_service_client.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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium 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 COMPONENTS_METRICS_METRICS_SERVICE_CLIENT_H_ 5 #ifndef COMPONENTS_METRICS_METRICS_SERVICE_CLIENT_H_
6 #define COMPONENTS_METRICS_METRICS_SERVICE_CLIENT_H_ 6 #define COMPONENTS_METRICS_METRICS_SERVICE_CLIENT_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 #include <string> 9 #include <string>
10 10
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 // //content and thus do not have //content's notification system available 110 // //content and thus do not have //content's notification system available
111 // as a mechanism for observing renderer crashes). 111 // as a mechanism for observing renderer crashes).
112 virtual void OnRendererProcessCrash() {} 112 virtual void OnRendererProcessCrash() {}
113 113
114 // Returns whether metrics reporting is managed by policy. 114 // Returns whether metrics reporting is managed by policy.
115 virtual bool IsReportingPolicyManaged(); 115 virtual bool IsReportingPolicyManaged();
116 116
117 // Gets information about the default value for the enable metrics reporting 117 // Gets information about the default value for the enable metrics reporting
118 // checkbox shown during first-run. 118 // checkbox shown during first-run.
119 virtual EnableMetricsDefault GetDefaultOptIn(); 119 virtual EnableMetricsDefault GetDefaultOptIn();
120
121 // Returns whether cellular logic is enabled for metrics reporting.
122 virtual bool IsUMACellularUploadLogicEnabled();
120 }; 123 };
121 124
122 } // namespace metrics 125 } // namespace metrics
123 126
124 #endif // COMPONENTS_METRICS_METRICS_SERVICE_CLIENT_H_ 127 #endif // COMPONENTS_METRICS_METRICS_SERVICE_CLIENT_H_
OLDNEW
« no previous file with comments | « components/metrics/metrics_service.cc ('k') | components/metrics/metrics_service_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698