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

Unified Diff: components/minidump_uploader/android/java/src/org/chromium/components/minidump_uploader/util/MinidumpUploadDelegate.java

Issue 2466443002: Revert of Split MinidumpUploadService into core- and Chrome-implementation. (Closed)
Patch Set: Created 4 years, 1 month 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 | « components/minidump_uploader/BUILD.gn ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/minidump_uploader/android/java/src/org/chromium/components/minidump_uploader/util/MinidumpUploadDelegate.java
diff --git a/components/minidump_uploader/android/java/src/org/chromium/components/minidump_uploader/util/MinidumpUploadDelegate.java b/components/minidump_uploader/android/java/src/org/chromium/components/minidump_uploader/util/MinidumpUploadDelegate.java
deleted file mode 100644
index 60c03bc037a8fbf7ae1c73576726b62b03547be2..0000000000000000000000000000000000000000
--- a/components/minidump_uploader/android/java/src/org/chromium/components/minidump_uploader/util/MinidumpUploadDelegate.java
+++ /dev/null
@@ -1,44 +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.components.minidump_uploader.util;
-
-import android.content.Context;
-import android.support.annotation.StringDef;
-
-/**
- * Interface giving clients of the minidump uploader component the ability to control and log
- * different stages of the uploading.
- */
-public interface MinidumpUploadDelegate {
- @StringDef({BROWSER, RENDERER, GPU, OTHER})
- public @interface ProcessType {}
- static final String BROWSER = "Browser";
- static final String RENDERER = "Renderer";
- static final String GPU = "GPU";
- static final String OTHER = "Other";
-
- static final String[] CRASH_TYPES = {BROWSER, RENDERER, GPU, OTHER};
-
- /**
- * Called when a minidump is uploaded successfully.
- * @param context is the context which we should use to fetch information such as shared
- * preferences.
- * @param crashType is the type of crash represented by the minidump that was uploaded.
- */
- void onSuccessfulUpload(Context context, @ProcessType String crashType);
-
- /**
- * Called when we fail to upload a minidump too many times.
- * @param context is the context which we should use to fetch information such as shared
- * preferences.
- * @param crashType is the type of crash represented by the minidump we failed to upload.
- */
- void onMaxedOutUploadFailures(Context context, @ProcessType String crashType);
-
- /**
- * @return A permission manager determining whether a minidump can be uploaded at certain times.
- */
- CrashReportingPermissionManager getCrashReportingPermissionManager();
-}
« no previous file with comments | « components/minidump_uploader/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698