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 14 matching lines...) Expand all Loading... |
25 #include "minidump/minidump_extensions.h" | 25 #include "minidump/minidump_extensions.h" |
26 #include "minidump/minidump_rva_list_writer.h" | 26 #include "minidump/minidump_rva_list_writer.h" |
27 #include "minidump/minidump_writable.h" | 27 #include "minidump/minidump_writable.h" |
28 | 28 |
29 namespace crashpad { | 29 namespace crashpad { |
30 namespace internal { | 30 namespace internal { |
31 | 31 |
32 //! \cond | 32 //! \cond |
33 | 33 |
34 struct MinidumpStringWriterUTF16Traits { | 34 struct MinidumpStringWriterUTF16Traits { |
35 using StringType = string16; | 35 using StringType = base::string16; |
36 using MinidumpStringType = MINIDUMP_STRING; | 36 using MinidumpStringType = MINIDUMP_STRING; |
37 }; | 37 }; |
38 | 38 |
39 struct MinidumpStringWriterUTF8Traits { | 39 struct MinidumpStringWriterUTF8Traits { |
40 using StringType = std::string; | 40 using StringType = std::string; |
41 using MinidumpStringType = MinidumpUTF8String; | 41 using MinidumpStringType = MinidumpUTF8String; |
42 }; | 42 }; |
43 | 43 |
44 //! \endcond | 44 //! \endcond |
45 | 45 |
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
172 } // namespace internal | 172 } // namespace internal |
173 | 173 |
174 using MinidumpUTF16StringListWriter = internal::MinidumpStringListWriter< | 174 using MinidumpUTF16StringListWriter = internal::MinidumpStringListWriter< |
175 internal::MinidumpUTF16StringWriter>; | 175 internal::MinidumpUTF16StringWriter>; |
176 using MinidumpUTF8StringListWriter = internal::MinidumpStringListWriter< | 176 using MinidumpUTF8StringListWriter = internal::MinidumpStringListWriter< |
177 internal::MinidumpUTF8StringWriter>; | 177 internal::MinidumpUTF8StringWriter>; |
178 | 178 |
179 } // namespace crashpad | 179 } // namespace crashpad |
180 | 180 |
181 #endif // CRASHPAD_MINIDUMP_MINIDUMP_STRING_WRITER_H_ | 181 #endif // CRASHPAD_MINIDUMP_MINIDUMP_STRING_WRITER_H_ |
OLD | NEW |