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

Side by Side Diff: client/crashpad_info.cc

Issue 1355503005: win: Make reading CrashpadInfo work across bitness (Closed) Base URL: https://chromium.googlesource.com/crashpad/crashpad@master
Patch Set: fixes 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 | « client/crashpad_info.h ('k') | snapshot/snapshot_test.gyp » ('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 2014 The Crashpad Authors. All rights reserved. 1 // Copyright 2014 The Crashpad Authors. All rights reserved.
2 // 2 //
3 // Licensed under the Apache License, Version 2.0 (the "License"); 3 // Licensed under the Apache License, Version 2.0 (the "License");
4 // you may not use this file except in compliance with the License. 4 // you may not use this file except in compliance with the License.
5 // You may obtain a copy of the License at 5 // You may obtain a copy of the License at
6 // 6 //
7 // http://www.apache.org/licenses/LICENSE-2.0 7 // http://www.apache.org/licenses/LICENSE-2.0
8 // 8 //
9 // Unless required by applicable law or agreed to in writing, software 9 // Unless required by applicable law or agreed to in writing, software
10 // distributed under the License is distributed on an "AS IS" BASIS, 10 // distributed under the License is distributed on an "AS IS" BASIS,
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 return &g_crashpad_info; 92 return &g_crashpad_info;
93 } 93 }
94 94
95 CrashpadInfo::CrashpadInfo() 95 CrashpadInfo::CrashpadInfo()
96 : signature_(kSignature), 96 : signature_(kSignature),
97 size_(sizeof(*this)), 97 size_(sizeof(*this)),
98 version_(kCrashpadInfoVersion), 98 version_(kCrashpadInfoVersion),
99 crashpad_handler_behavior_(TriState::kUnset), 99 crashpad_handler_behavior_(TriState::kUnset),
100 system_crash_reporter_forwarding_(TriState::kUnset), 100 system_crash_reporter_forwarding_(TriState::kUnset),
101 padding_0_(0), 101 padding_0_(0),
102 simple_annotations_(nullptr) { 102 simple_annotations_(nullptr)
103 #if !defined(NDEBUG) && defined(OS_WIN)
104 ,
105 invalid_read_detection_(0xbadc0de)
106 #endif
107 {
108
103 } 109 }
104 110
105 } // namespace crashpad 111 } // namespace crashpad
OLDNEW
« no previous file with comments | « client/crashpad_info.h ('k') | snapshot/snapshot_test.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698