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 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
59 //! #kStateFrozen or beyond. | 59 //! #kStateFrozen or beyond. |
60 const std::vector<RVA>& child_rvas() const { return child_rvas_; } | 60 const std::vector<RVA>& child_rvas() const { return child_rvas_; } |
61 | 61 |
62 // MinidumpWritable: | 62 // MinidumpWritable: |
63 bool Freeze() override; | 63 bool Freeze() override; |
64 size_t SizeOfObject() override; | 64 size_t SizeOfObject() override; |
65 std::vector<MinidumpWritable*> Children() override; | 65 std::vector<MinidumpWritable*> Children() override; |
66 bool WriteObject(FileWriterInterface* file_writer) override; | 66 bool WriteObject(FileWriterInterface* file_writer) override; |
67 | 67 |
68 private: | 68 private: |
69 MinidumpRVAList rva_list_base_; | 69 scoped_ptr<MinidumpRVAList> rva_list_base_; |
70 PointerVector<MinidumpWritable> children_; | 70 PointerVector<MinidumpWritable> children_; |
71 std::vector<RVA> child_rvas_; | 71 std::vector<RVA> child_rvas_; |
72 | 72 |
73 DISALLOW_COPY_AND_ASSIGN(MinidumpRVAListWriter); | 73 DISALLOW_COPY_AND_ASSIGN(MinidumpRVAListWriter); |
74 }; | 74 }; |
75 | 75 |
76 } // namespace internal | 76 } // namespace internal |
77 } // namespace crashpad | 77 } // namespace crashpad |
78 | 78 |
79 #endif // CRASHPAD_MINIDUMP_RVA_LIST_WRITER_H_ | 79 #endif // CRASHPAD_MINIDUMP_RVA_LIST_WRITER_H_ |
OLD | NEW |