Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(651)

Unified Diff: chrome/android/java/src/org/chromium/chrome/browser/preferences/privacy/CrashReportingPermissionManager.java

Issue 1111133002: Changes necessary for limiting crash report uploads for cellular networks (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix comment typos Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/android/java/src/org/chromium/chrome/browser/preferences/privacy/PrivacyPreferencesManager.java » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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();
}
« no previous file with comments | « no previous file | chrome/android/java/src/org/chromium/chrome/browser/preferences/privacy/PrivacyPreferencesManager.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698