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

Side by Side Diff: components/crash/content/app/breakpad_linux_impl.h

Issue 1546143002: Switch to standard integer types in components/, part 1 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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
OLDNEW
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. 6 // shared between crash_handler_host_linux.cc and breakpad_linux.cc.
7 7
8 #ifndef COMPONENTS_CRASH_CONTENT_APP_BREAKPAD_LINUX_IMPL_H_ 8 #ifndef COMPONENTS_CRASH_CONTENT_APP_BREAKPAD_LINUX_IMPL_H_
9 #define COMPONENTS_CRASH_CONTENT_APP_BREAKPAD_LINUX_IMPL_H_ 9 #define COMPONENTS_CRASH_CONTENT_APP_BREAKPAD_LINUX_IMPL_H_
10 10
11 #include <stddef.h>
12 #include <stdint.h>
11 #include <sys/types.h> 13 #include <sys/types.h>
12 14
13 #include "base/basictypes.h"
14 #include "breakpad/src/common/simple_string_dictionary.h" 15 #include "breakpad/src/common/simple_string_dictionary.h"
15 #include "components/crash/content/app/breakpad_linux.h" 16 #include "components/crash/content/app/breakpad_linux.h"
16 17
17 namespace breakpad { 18 namespace breakpad {
18 19
19 typedef google_breakpad::NonAllocatingMap<256, 256, 64> CrashKeyStorage; 20 typedef google_breakpad::NonAllocatingMap<256, 256, 64> CrashKeyStorage;
20 21
21 #if defined(ADDRESS_SANITIZER) 22 #if defined(ADDRESS_SANITIZER)
22 static const size_t kMaxAsanReportSize = 1 << 16; 23 static const size_t kMaxAsanReportSize = 1 << 16;
23 #endif 24 #endif
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 size_t oom_size; // Amount of memory requested if OOM. 56 size_t oom_size; // Amount of memory requested if OOM.
56 uint64_t pid; // PID where applicable. 57 uint64_t pid; // PID where applicable.
57 CrashKeyStorage* crash_keys; 58 CrashKeyStorage* crash_keys;
58 }; 59 };
59 60
60 extern void HandleCrashDump(const BreakpadInfo& info); 61 extern void HandleCrashDump(const BreakpadInfo& info);
61 62
62 } // namespace breakpad 63 } // namespace breakpad
63 64
64 #endif // COMPONENTS_CRASH_CONTENT_APP_BREAKPAD_LINUX_IMPL_H_ 65 #endif // COMPONENTS_CRASH_CONTENT_APP_BREAKPAD_LINUX_IMPL_H_
OLDNEW
« no previous file with comments | « components/crash/content/app/breakpad_linux.cc ('k') | components/crash/content/app/breakpad_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698