Chromium Code Reviews| Index: remoting/host/usage_stats_consent.h |
| diff --git a/remoting/host/usage_stats_consent.h b/remoting/host/usage_stats_consent.h |
| index ee490293dc9649045dc6a4fe0e84b39d634cd630..f483b13e335a54888a17c9fa1d7a097782f13249 100644 |
| --- a/remoting/host/usage_stats_consent.h |
| +++ b/remoting/host/usage_stats_consent.h |
| @@ -7,8 +7,19 @@ |
| namespace remoting { |
| -// Returns true if the user has agreed to crash dump collection and uploading. |
| -bool IsCrashReportingEnabled(); |
| +// Retrieves the user's consent to collect crash dumps and gather usage |
| +// statistics. |
| +bool GetUsageStatsConsent(bool* allowed, bool* set_by_policy); |
| + |
| +// Retrieves the effective user's consent to collect crash dumps and gather |
| +// usage statistics. In most cases the returned value matched |allowed| returned |
|
Jamie
2012/06/21 23:49:31
Nit: s/matched/matches/
alexeypa (please no reviews)
2012/06/22 00:09:27
Done.
|
| +// by GetUsageStatsConsent(). When GetUsageStatsConsent() fails this routine |
|
Jamie
2012/06/21 23:49:31
Nit: s/When/If/
alexeypa (please no reviews)
2012/06/22 00:09:27
Done.
|
| +// reports that crash dump repoting is disabled. |
| +bool IsUsageStatsAllowed(); |
| + |
| +// Records the user's consent to collect crash dumps and gather usage |
| +// statistics. |
| +bool SetUsageStatsConsent(bool allowed); |
| } // remoting |