OLD | NEW |
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 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
63 return child_location_descriptors_; | 63 return child_location_descriptors_; |
64 } | 64 } |
65 | 65 |
66 // MinidumpWritable: | 66 // MinidumpWritable: |
67 bool Freeze() override; | 67 bool Freeze() override; |
68 size_t SizeOfObject() override; | 68 size_t SizeOfObject() override; |
69 std::vector<MinidumpWritable*> Children() override; | 69 std::vector<MinidumpWritable*> Children() override; |
70 bool WriteObject(FileWriterInterface* file_writer) override; | 70 bool WriteObject(FileWriterInterface* file_writer) override; |
71 | 71 |
72 private: | 72 private: |
73 MinidumpLocationDescriptorList location_descriptor_list_base_; | 73 scoped_ptr<MinidumpLocationDescriptorList> location_descriptor_list_base_; |
74 PointerVector<MinidumpWritable> children_; | 74 PointerVector<MinidumpWritable> children_; |
75 std::vector<MINIDUMP_LOCATION_DESCRIPTOR> child_location_descriptors_; | 75 std::vector<MINIDUMP_LOCATION_DESCRIPTOR> child_location_descriptors_; |
76 | 76 |
77 DISALLOW_COPY_AND_ASSIGN(MinidumpLocationDescriptorListWriter); | 77 DISALLOW_COPY_AND_ASSIGN(MinidumpLocationDescriptorListWriter); |
78 }; | 78 }; |
79 | 79 |
80 } // namespace internal | 80 } // namespace internal |
81 } // namespace crashpad | 81 } // namespace crashpad |
82 | 82 |
83 #endif // CRASHPAD_MINIDUMP_LOCATION_DESCRIPTOR_LIST_WRITER_H_ | 83 #endif // CRASHPAD_MINIDUMP_LOCATION_DESCRIPTOR_LIST_WRITER_H_ |
OLD | NEW |