| 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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 44 //! obtain the directory entry for a stream. | 44 //! obtain the directory entry for a stream. |
| 45 //! | 45 //! |
| 46 //! \note Valid only in #kStateWritable. | 46 //! \note Valid only in #kStateWritable. |
| 47 const MINIDUMP_DIRECTORY* DirectoryListEntry() const; | 47 const MINIDUMP_DIRECTORY* DirectoryListEntry() const; |
| 48 | 48 |
| 49 protected: | 49 protected: |
| 50 MinidumpStreamWriter(); | 50 MinidumpStreamWriter(); |
| 51 ~MinidumpStreamWriter() {} | 51 ~MinidumpStreamWriter() {} |
| 52 | 52 |
| 53 // MinidumpWritable: | 53 // MinidumpWritable: |
| 54 virtual bool Freeze() override; | 54 bool Freeze() override; |
| 55 | 55 |
| 56 private: | 56 private: |
| 57 MINIDUMP_DIRECTORY directory_list_entry_; | 57 MINIDUMP_DIRECTORY directory_list_entry_; |
| 58 | 58 |
| 59 DISALLOW_COPY_AND_ASSIGN(MinidumpStreamWriter); | 59 DISALLOW_COPY_AND_ASSIGN(MinidumpStreamWriter); |
| 60 }; | 60 }; |
| 61 | 61 |
| 62 } // namespace internal | 62 } // namespace internal |
| 63 } // namespace crashpad | 63 } // namespace crashpad |
| 64 | 64 |
| 65 #endif // CRASHPAD_MINIDUMP_STREAM_WRITER_H_ | 65 #endif // CRASHPAD_MINIDUMP_STREAM_WRITER_H_ |
| OLD | NEW |