OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 REMOTING_HOST_BREAKPAD_H_ | 5 #ifndef REMOTING_HOST_BREAKPAD_H_ |
6 #define REMOTING_HOST_BREAKPAD_H_ | 6 #define REMOTING_HOST_BREAKPAD_H_ |
7 | 7 |
8 namespace remoting { | 8 namespace remoting { |
9 | 9 |
10 // Returns true if the user has agreed to crash dump collection and uploading. | 10 // Retrieves the user's consent to collect crash dumps and gather usage |
11 bool IsCrashReportingEnabled(); | 11 // statistics. |
| 12 bool GetUsageStatsConsent(bool* set_by_policy_opt, bool* allowed); |
| 13 |
| 14 // Records the user's consent to collect crash dumps and gather usage |
| 15 // statistics. |
| 16 bool SetUsageStatsConsent(bool allowed); |
12 | 17 |
13 } // remoting | 18 } // remoting |
14 | 19 |
15 #endif // REMOTING_HOST_BREAKPAD_H_ | 20 #endif // REMOTING_HOST_BREAKPAD_H_ |
OLD | NEW |