OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 // Internal header file for the Linux breakpad implementation. This file is | 5 // Internal header file for the Linux breakpad implementation. This file is |
6 // shared between crash_handler_host_linux.cc and breakpad_linux.cc. It should | 6 // shared between crash_handler_host_linux.cc and breakpad_linux.cc. |
7 // only be used in files compiled with linux_breakpad=1. | |
8 | 7 |
9 #ifndef COMPONENTS_CRASH_CONTENT_APP_BREAKPAD_LINUX_IMPL_H_ | 8 #ifndef COMPONENTS_CRASH_CONTENT_APP_BREAKPAD_LINUX_IMPL_H_ |
10 #define COMPONENTS_CRASH_CONTENT_APP_BREAKPAD_LINUX_IMPL_H_ | 9 #define COMPONENTS_CRASH_CONTENT_APP_BREAKPAD_LINUX_IMPL_H_ |
11 | 10 |
12 #include <sys/types.h> | 11 #include <sys/types.h> |
13 | 12 |
14 #include "base/basictypes.h" | 13 #include "base/basictypes.h" |
15 #include "breakpad/src/common/simple_string_dictionary.h" | 14 #include "breakpad/src/common/simple_string_dictionary.h" |
16 #include "components/crash/content/app/breakpad_linux.h" | 15 #include "components/crash/content/app/breakpad_linux.h" |
17 | 16 |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
56 size_t oom_size; // Amount of memory requested if OOM. | 55 size_t oom_size; // Amount of memory requested if OOM. |
57 uint64_t pid; // PID where applicable. | 56 uint64_t pid; // PID where applicable. |
58 CrashKeyStorage* crash_keys; | 57 CrashKeyStorage* crash_keys; |
59 }; | 58 }; |
60 | 59 |
61 extern void HandleCrashDump(const BreakpadInfo& info); | 60 extern void HandleCrashDump(const BreakpadInfo& info); |
62 | 61 |
63 } // namespace breakpad | 62 } // namespace breakpad |
64 | 63 |
65 #endif // COMPONENTS_CRASH_CONTENT_APP_BREAKPAD_LINUX_IMPL_H_ | 64 #endif // COMPONENTS_CRASH_CONTENT_APP_BREAKPAD_LINUX_IMPL_H_ |
OLD | NEW |