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

Unified Diff: third_party/crashpad/crashpad/compat/android/linux/prctl.h

Issue 2814043003: Update Crashpad to 1f28a123a4c9449e3d7ddad4ff00dacd366d5216 (Closed)
Patch Set: Add missing GN config to fix compile/link. Created 3 years, 8 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: third_party/crashpad/crashpad/compat/android/linux/prctl.h
diff --git a/third_party/crashpad/crashpad/minidump/minidump_user_extension_stream_data_source.cc b/third_party/crashpad/crashpad/compat/android/linux/prctl.h
similarity index 56%
copy from third_party/crashpad/crashpad/minidump/minidump_user_extension_stream_data_source.cc
copy to third_party/crashpad/crashpad/compat/android/linux/prctl.h
index 8056011cf021b0cccafdbcf6286caf9e0f70ed5a..046f900f0a0513d797714ab414c8e62a2a17388a 100644
--- a/third_party/crashpad/crashpad/minidump/minidump_user_extension_stream_data_source.cc
+++ b/third_party/crashpad/crashpad/compat/android/linux/prctl.h
@@ -12,19 +12,14 @@
// See the License for the specific language governing permissions and
// limitations under the License.
-#include "minidump/minidump_user_extension_stream_data_source.h"
+#ifndef CRASHPAD_COMPAT_ANDROID_LINUX_PRCTL_H_
+#define CRASHPAD_COMPAT_ANDROID_LINUX_PRCTL_H_
-namespace crashpad {
+#include_next <linux/prctl.h>
-MinidumpUserExtensionStreamDataSource::MinidumpUserExtensionStreamDataSource(
- uint32_t stream_type,
- const void* buffer,
- size_t buffer_size)
- : stream_type_(static_cast<MinidumpStreamType>(stream_type)),
- buffer_(buffer),
- buffer_size_(buffer_size) {}
+// Android 5.0.0 (API 21) NDK
+#if !defined(PR_SET_PTRACER)
+#define PR_SET_PTRACER 0x59616d61
+#endif
-MinidumpUserExtensionStreamDataSource::
- ~MinidumpUserExtensionStreamDataSource() {}
-
-} // namespace crashpad
+#endif // CRASHPAD_COMPAT_ANDROID_LINUX_PRCTL_H_
« no previous file with comments | « third_party/crashpad/crashpad/client/crashpad_client_win_test.cc ('k') | third_party/crashpad/crashpad/crashpad.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698