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

Unified Diff: android_webview/java/src/org/chromium/android_webview/crash/AwMinidumpUploaderDelegate.java

Issue 2737263006: [Android Crash Reporting] Allow uploading minidumps via the JobScheduler (Closed)
Patch Set: Fully implemented, still needs tests Created 3 years, 9 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
Index: android_webview/java/src/org/chromium/android_webview/crash/AwMinidumpUploaderDelegate.java
diff --git a/android_webview/java/src/org/chromium/android_webview/crash/AwMinidumpUploaderDelegate.java b/android_webview/java/src/org/chromium/android_webview/crash/AwMinidumpUploaderDelegate.java
index 84d55ea487ea037f1c00134231373fbde918b556..34a802cc5c6da6019fcac837db06caa917868688 100644
--- a/android_webview/java/src/org/chromium/android_webview/crash/AwMinidumpUploaderDelegate.java
+++ b/android_webview/java/src/org/chromium/android_webview/crash/AwMinidumpUploaderDelegate.java
@@ -36,7 +36,10 @@ public class AwMinidumpUploaderDelegate implements MinidumpUploaderDelegate {
}
@Override
- public File createCrashDir() {
+ public File getCacheDir() {
+ // TODO(isherman): This actually results in the directory structure cache/crash/crash. Is
+ // it worth fixing? We might lose pending crash reports in the nested dir if we do try a fix
+ // here...
Ilya Sherman 2017/03/13 03:12:09 Gustav, WDYT? (In either case, not a change I'd w
gsennton 2017/03/13 17:57:17 the directory structure is cache/WebView_Crashes/C
Ilya Sherman 2017/03/14 02:18:55 Ah, okay, this makes more sense now. I renamed th
return CrashReceiverService.createWebViewCrashDir(mContext);
}
@@ -67,14 +70,6 @@ public class AwMinidumpUploaderDelegate implements MinidumpUploaderDelegate {
public boolean isCrashUploadDisabledByCommandLine() {
return false;
}
- /**
- * This method is already represented by isClientInMetricsSample() and
- * isNetworkAvailableForCrashUploads().
- */
- @Override
- public boolean isMetricsUploadPermitted() {
- return true;
- }
@Override
public boolean isUsageAndCrashReportingPermittedByUser() {
return mPermittedByUser;

Powered by Google App Engine
This is Rietveld 408576698