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

Unified Diff: android_webview/crash_reporter/aw_microdump_crash_reporter_disabled_in_android_builds.cc

Issue 902093003: [android-webview] Enable breakpad microdump crash reporting (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@crash_refactor_for_webview
Patch Set: Fix aw_microdump_crash_reporter_disabled_in_android_builds Created 5 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/crash_reporter/aw_microdump_crash_reporter_disabled_in_android_builds.cc
diff --git a/android_webview/crash_reporter/aw_microdump_crash_reporter_disabled_in_android_builds.cc b/android_webview/crash_reporter/aw_microdump_crash_reporter_disabled_in_android_builds.cc
new file mode 100644
index 0000000000000000000000000000000000000000..d5c6e7ba8dfe7e4441bd0dfd726be8a5b8b34993
--- /dev/null
+++ b/android_webview/crash_reporter/aw_microdump_crash_reporter_disabled_in_android_builds.cc
@@ -0,0 +1,21 @@
+// Copyright 2015 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.
+
+#include "android_webview/crash_reporter/aw_microdump_crash_reporter.h"
+
+// TODO(primiano): remove this once Android builds of WebView are deprecated.
+// This translation unit is a no-op fallback for AwCrashReporter. This is built
+// only when building in the Android tree.
+// The rationale of this hack is to avoid the cost of maintaining breakpad in
+// the Android tree, as the WebView build in Android itself is going to be
+// deprecated soon (crbug.com/440792).
+
+namespace android_webview {
+namespace crash_reporter {
+
+void EnableMicrodumpCrashReporter() {
+}
+
+} // namespace crash_reporter
+} // namespace android_webview
« no previous file with comments | « android_webview/crash_reporter/aw_microdump_crash_reporter.cc ('k') | android_webview/lib/main/aw_main_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698