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

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

Issue 2713473003: [Android Crash Reporting] Componentize MinidumpUploader.java (Closed)
Patch Set: Fix tests, too Created 3 years, 10 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/MinidumpUploader.java
diff --git a/android_webview/java/src/org/chromium/android_webview/crash/MinidumpUploader.java b/android_webview/java/src/org/chromium/android_webview/crash/MinidumpUploader.java
deleted file mode 100644
index 1957f36a8f9cb75b67815f622e7f661f5c44b6f7..0000000000000000000000000000000000000000
--- a/android_webview/java/src/org/chromium/android_webview/crash/MinidumpUploader.java
+++ /dev/null
@@ -1,30 +0,0 @@
-// Copyright 2016 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-package org.chromium.android_webview.crash;
-
-/**
- * Interface for uploading minidumps.
- */
-public interface MinidumpUploader {
- /**
- * Try to upload all the minidumps in the crash directory.
- * This method will be called on the UI thread of our JobService.
- * @param uploadsFinishedCallback a callback that will be called when the uploading is finished
- * (whether or not all of the uploads succeeded).
- */
- void uploadAllMinidumps(UploadsFinishedCallback uploadsFinishedCallback);
-
- /**
- * Cancel the current set of uploads.
- * @return whether there are still uploads to be done.
- */
- boolean cancelUploads();
-
- /**
- * Provides an interface for the callback that will be called if all uploads are finished before
- * they are canceled.
- */
- public interface UploadsFinishedCallback { public void uploadsFinished(boolean reschedule); }
-}

Powered by Google App Engine
This is Rietveld 408576698