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

Unified Diff: chrome/android/java/src/org/chromium/chrome/browser/crash/LogcatExtractionCallable.java

Issue 1391893003: NOT FOR REVIEW: Aura on Android (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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: chrome/android/java/src/org/chromium/chrome/browser/crash/LogcatExtractionCallable.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/crash/LogcatExtractionCallable.java b/chrome/android/java/src/org/chromium/chrome/browser/crash/LogcatExtractionCallable.java
index a96707a1ccb420f0f00d83d2fc8c7e25dfa3a972..222121fb362a6565532e3cf58628798a208be168 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/crash/LogcatExtractionCallable.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/crash/LogcatExtractionCallable.java
@@ -150,23 +150,23 @@ public class LogcatExtractionCallable implements Callable<Boolean> {
private void proccessMinidump(File logcatFile, String name,
CrashFileManager manager, boolean isLast) throws IOException {
- String toPath = MINIDUMP_EXTENSION.matcher(name).replaceAll(LOGCAT_EXTENSION);
- File toFile = manager.createNewTempFile(toPath);
-
- // For the last file, we don't need to make extra copies. We'll use the original
- // logcat file but we would pass down the redirect intent so it can be triggered
- // upon completion.
- Intent intent = null;
- if (isLast) {
- move(logcatFile, toFile);
- intent = MinidumpPreparationService.createMinidumpPreparationIntent(mContext,
- manager.getCrashFile(name), toFile, mRedirectIntent);
- } else {
- copy(logcatFile, toFile);
- intent = MinidumpPreparationService.createMinidumpPreparationIntent(mContext,
- manager.getCrashFile(name), toFile, null);
- }
- mContext.startService(intent);
+// String toPath = MINIDUMP_EXTENSION.matcher(name).replaceAll(LOGCAT_EXTENSION);
+// File toFile = manager.createNewTempFile(toPath);
+//
+// // For the last file, we don't need to make extra copies. We'll use the original
+// // logcat file but we would pass down the redirect intent so it can be triggered
+// // upon completion.
+// Intent intent = null;
+// if (isLast) {
+// move(logcatFile, toFile);
+// intent = MinidumpPreparationService.createMinidumpPreparationIntent(mContext,
+// manager.getCrashFile(name), toFile, mRedirectIntent);
+// } else {
+// copy(logcatFile, toFile);
+// intent = MinidumpPreparationService.createMinidumpPreparationIntent(mContext,
+// manager.getCrashFile(name), toFile, null);
+// }
+// mContext.startService(intent);
}
private File getElidedLogcat() throws IOException, InterruptedException {

Powered by Google App Engine
This is Rietveld 408576698