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 01da36e805aacebe7925cb43d134b8afc9624a9e..65f5efb6d5061e5aff834bcf11911157ec8c3cbd 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 |
@@ -8,11 +8,20 @@ package org.chromium.chrome.browser.preferences.privacy; |
* Interface for crash reporting permissions. |
*/ |
public interface CrashReportingPermissionManager { |
- |
/** |
* Check whether to allow uploading crash dump now based on user consent and connectivity. |
* |
- * @return boolean to whether to allow uploading crash dump now. |
+ * @return whether to allow uploading crash dump now. |
*/ |
public boolean isUploadPermitted(); |
+ |
+ /** |
+ * Check whether uploading crash dump should be in constrained mode based on user experiments. |
+ * This function shows whether in general uploads should be limited for this user and does not |
+ * determine whether crash uploads are currently possible or not. Use |isUploadPermitted| |
+ * function for that before calling |isUploadLimited|. |
+ * |
+ * @return whether uploading logic should be constrained. |
+ */ |
+ public boolean isUploadLimited(); |
} |