Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(604)

Side by Side Diff: minidump/minidump_string_writer.h

Issue 804593002: Move string16 and char16 in to base:: (Closed) Base URL: https://chromium.googlesource.com/crashpad/crashpad@master
Patch Set: include roll of mini_chromium to 37bac7... Created 6 years 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_module_writer_test.cc ('k') | minidump/minidump_string_writer_test.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 14 matching lines...) Expand all
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
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_
OLDNEW
« no previous file with comments | « minidump/minidump_module_writer_test.cc ('k') | minidump/minidump_string_writer_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698