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

Side by Side Diff: third_party/crashpad/crashpad/minidump/minidump_module_crashpad_info_writer.cc

Issue 1921833002: Update Crashpad to 00d458adaf3868999eeab5341fce5bedb81d17a1 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: win fixes Created 4 years, 7 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 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,
11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 // See the License for the specific language governing permissions and 12 // See the License for the specific language governing permissions and
13 // limitations under the License. 13 // limitations under the License.
14 14
15 #include "minidump/minidump_module_crashpad_info_writer.h"
16
15 #include <utility> 17 #include <utility>
16 18
17 #include "base/logging.h" 19 #include "base/logging.h"
18 #include "base/memory/ptr_util.h" 20 #include "base/memory/ptr_util.h"
19 #include "minidump/minidump_module_crashpad_info_writer.h"
20 #include "minidump/minidump_simple_string_dictionary_writer.h" 21 #include "minidump/minidump_simple_string_dictionary_writer.h"
21 #include "snapshot/module_snapshot.h" 22 #include "snapshot/module_snapshot.h"
22 #include "util/file/file_writer.h" 23 #include "util/file/file_writer.h"
23 #include "util/numeric/safe_assignment.h" 24 #include "util/numeric/safe_assignment.h"
24 25
25 namespace crashpad { 26 namespace crashpad {
26 27
27 MinidumpModuleCrashpadInfoWriter::MinidumpModuleCrashpadInfoWriter() 28 MinidumpModuleCrashpadInfoWriter::MinidumpModuleCrashpadInfoWriter()
28 : MinidumpWritable(), 29 : MinidumpWritable(),
29 module_(), 30 module_(),
(...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after
230 iov.iov_base = &module_crashpad_info_links_[0]; 231 iov.iov_base = &module_crashpad_info_links_[0];
231 iov.iov_len = module_crashpad_info_links_.size() * 232 iov.iov_len = module_crashpad_info_links_.size() *
232 sizeof(module_crashpad_info_links_[0]); 233 sizeof(module_crashpad_info_links_[0]);
233 iovecs.push_back(iov); 234 iovecs.push_back(iov);
234 } 235 }
235 236
236 return file_writer->WriteIoVec(&iovecs); 237 return file_writer->WriteIoVec(&iovecs);
237 } 238 }
238 239
239 } // namespace crashpad 240 } // namespace crashpad
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698