Chromium Code Reviews| Index: chrome/android/java/src/org/chromium/chrome/browser/preferences/privacy/CrashReportingPermissionManager.java |
| diff --git a/chrome/android/java/src/org/chromium/chrome/browser/preferences/privacy/CrashReportingPermissionManager.java b/chrome/android/java/src/org/chromium/chrome/browser/preferences/privacy/CrashReportingPermissionManager.java |
| index 7f12e8f7b9de764e4f914192dfd8105cc6ac4b9c..cb7fd81e5532e1348b354fbab7bcd7fe687502c0 100644 |
| --- a/chrome/android/java/src/org/chromium/chrome/browser/preferences/privacy/CrashReportingPermissionManager.java |
| +++ b/chrome/android/java/src/org/chromium/chrome/browser/preferences/privacy/CrashReportingPermissionManager.java |
| @@ -9,6 +9,14 @@ package org.chromium.chrome.browser.preferences.privacy; |
| */ |
| public interface CrashReportingPermissionManager { |
| /** |
| + * Checks whether this client is eligible to send crashes. If they are, and there was user |
| + * consent, then crashes would be reported. |
| + * |
| + * @returns boolean Whether client is eligible to send metrics. |
| + */ |
| + public boolean isClientInMetricsSample(); |
|
gayane -on leave until 09-2017
2016/08/23 22:43:51
maybe just isClientInSample
jwd
2016/08/24 15:06:27
I put Metrics in the name because it's implemented
|
| + |
| + /** |
| * Check whether to allow uploading crash dump now based on user consent and connectivity. |
| * |
| * @return whether to allow uploading crash dump now. |