Index: chromecast/android/chromecast_config_android.h |
diff --git a/chromecast/android/chromecast_config_android.h b/chromecast/android/chromecast_config_android.h |
index 627259e9943ed991d32e7fe5734fb6b4afc18f2e..e09d657acc92dffb186182e5cd03cedb192e255b 100644 |
--- a/chromecast/android/chromecast_config_android.h |
+++ b/chromecast/android/chromecast_config_android.h |
@@ -18,6 +18,10 @@ class ChromecastConfigAndroid { |
public: |
static ChromecastConfigAndroid* GetInstance(); |
+ // Returns whether or not the user has allowed sending usage stats and |
+ // crash reports. |
+ bool CanSendUsageStats(); |
+ |
// Registers a handler to be notified when SendUsageStats is changed. |
void SetSendUsageStatsChangedCallback( |
const base::Callback<void(bool)>& callback); |