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

Unified Diff: chromecast/shell/android/apk/src/org/chromium/chromecast/shell/CastCrashHandler.java

Issue 638803002: Reorganizes Chromecast code to better reflect functional dependencies. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: extra DEPS: chromecast/crash/android --> chromecast/common Created 6 years, 2 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: chromecast/shell/android/apk/src/org/chromium/chromecast/shell/CastCrashHandler.java
diff --git a/chromecast/shell/android/apk/src/org/chromium/chromecast/shell/CastCrashHandler.java b/chromecast/shell/android/apk/src/org/chromium/chromecast/shell/CastCrashHandler.java
deleted file mode 100644
index 20fed194c8fb16dc50f27d89671729d4b1ebc087..0000000000000000000000000000000000000000
--- a/chromecast/shell/android/apk/src/org/chromium/chromecast/shell/CastCrashHandler.java
+++ /dev/null
@@ -1,32 +0,0 @@
-// Copyright 2014 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.chromecast.shell;
-
-import org.chromium.base.CalledByNative;
-import org.chromium.base.JNINamespace;
-
-/**
- * JNI wrapper class for accessing CastCrashHandler.
- */
-@JNINamespace("chromecast")
-public final class CastCrashHandler {
-
- @CalledByNative
- public static void removeCrashDumpsSync(String crashDumpPath, boolean isDebugBuild) {
- new CastCrashUploader(crashDumpPath, isDebugBuild).removeCrashDumpsSync();
- }
-
- @CalledByNative
- public static void uploadCurrentProcessDumpSync(String crashDumpPath, String logFilePath,
- boolean isDebugBuild) {
- new CastCrashUploader(crashDumpPath, isDebugBuild).
- uploadCurrentProcessDumpSync(logFilePath);
- }
-
- @CalledByNative
- public static void uploadCrashDumpsAsync(String crashDumpPath, boolean isDebugBuild) {
- new CastCrashUploader(crashDumpPath, isDebugBuild).uploadRecentCrashesAsync();
- }
-}

Powered by Google App Engine
This is Rietveld 408576698