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: minidump/minidump_thread_writer.h

Issue 896663006: win: Resolve zero-length array errors on MSVC (Closed) Base URL: https://chromium.googlesource.com/crashpad/crashpad@minidump-comp
Patch Set: fixes Created 5 years, 10 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 | « minidump/minidump_string_writer.cc ('k') | minidump/minidump_thread_writer.cc » ('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 184 matching lines...) Expand 10 before | Expand all | Expand 10 after
195 // MinidumpWritable: 195 // MinidumpWritable:
196 bool Freeze() override; 196 bool Freeze() override;
197 size_t SizeOfObject() override; 197 size_t SizeOfObject() override;
198 std::vector<MinidumpWritable*> Children() override; 198 std::vector<MinidumpWritable*> Children() override;
199 bool WriteObject(FileWriterInterface* file_writer) override; 199 bool WriteObject(FileWriterInterface* file_writer) override;
200 200
201 // MinidumpStreamWriter: 201 // MinidumpStreamWriter:
202 MinidumpStreamType StreamType() const override; 202 MinidumpStreamType StreamType() const override;
203 203
204 private: 204 private:
205 MINIDUMP_THREAD_LIST thread_list_base_;
206 PointerVector<MinidumpThreadWriter> threads_; 205 PointerVector<MinidumpThreadWriter> threads_;
207 MinidumpMemoryListWriter* memory_list_writer_; // weak 206 MinidumpMemoryListWriter* memory_list_writer_; // weak
207 MINIDUMP_THREAD_LIST thread_list_base_;
208 208
209 DISALLOW_COPY_AND_ASSIGN(MinidumpThreadListWriter); 209 DISALLOW_COPY_AND_ASSIGN(MinidumpThreadListWriter);
210 }; 210 };
211 211
212 } // namespace crashpad 212 } // namespace crashpad
213 213
214 #endif // CRASHPAD_MINIDUMP_MINIDUMP_THREAD_WRITER_H_ 214 #endif // CRASHPAD_MINIDUMP_MINIDUMP_THREAD_WRITER_H_
OLDNEW
« no previous file with comments | « minidump/minidump_string_writer.cc ('k') | minidump/minidump_thread_writer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698