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

Side by Side Diff: android_webview/crash_reporter/aw_microdump_crash_reporter.cc

Issue 1315303004: Turn components/crash into a layered component. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 3 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 unified diff | Download patch
« no previous file with comments | « WATCHLISTS ('k') | chrome/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "android_webview/crash_reporter/aw_microdump_crash_reporter.h" 5 #include "android_webview/crash_reporter/aw_microdump_crash_reporter.h"
6 6
7 #include "android_webview/common/aw_version_info_values.h" 7 #include "android_webview/common/aw_version_info_values.h"
8 #include "base/files/file_path.h" 8 #include "base/files/file_path.h"
9 #include "base/lazy_instance.h" 9 #include "base/lazy_instance.h"
10 #include "base/scoped_native_library.h" 10 #include "base/scoped_native_library.h"
11 #include "build/build_config.h" 11 #include "build/build_config.h"
12 #include "components/crash/app/breakpad_linux.h" 12 #include "components/crash/content/app/breakpad_linux.h"
13 #include "components/crash/app/crash_reporter_client.h" 13 #include "components/crash/content/app/crash_reporter_client.h"
14 14
15 namespace android_webview { 15 namespace android_webview {
16 namespace crash_reporter { 16 namespace crash_reporter {
17 17
18 namespace { 18 namespace {
19 19
20 class AwCrashReporterClient : public ::crash_reporter::CrashReporterClient { 20 class AwCrashReporterClient : public ::crash_reporter::CrashReporterClient {
21 public: 21 public:
22 AwCrashReporterClient() {} 22 AwCrashReporterClient() {}
23 23
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 110
111 ::crash_reporter::SetCrashReporterClient(g_crash_reporter_client.Pointer()); 111 ::crash_reporter::SetCrashReporterClient(g_crash_reporter_client.Pointer());
112 112
113 // |process_type| is not really relevant here, as long as it not empty. 113 // |process_type| is not really relevant here, as long as it not empty.
114 breakpad::InitNonBrowserCrashReporterForAndroid("webview" /* process_type */); 114 breakpad::InitNonBrowserCrashReporterForAndroid("webview" /* process_type */);
115 g_enabled = true; 115 g_enabled = true;
116 } 116 }
117 117
118 } // namespace crash_reporter 118 } // namespace crash_reporter
119 } // namespace android_webview 119 } // namespace android_webview
OLDNEW
« no previous file with comments | « WATCHLISTS ('k') | chrome/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698