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

Side by Side Diff: minidump/minidump_module_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_misc_info_writer_test.cc ('k') | minidump/minidump_module_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 154 matching lines...) Expand 10 before | Expand all | Expand 10 after
165 165
166 protected: 166 protected:
167 // MinidumpWritable: 167 // MinidumpWritable:
168 bool Freeze() override; 168 bool Freeze() override;
169 size_t SizeOfObject() override; 169 size_t SizeOfObject() override;
170 bool WriteObject(FileWriterInterface* file_writer) override; 170 bool WriteObject(FileWriterInterface* file_writer) override;
171 171
172 private: 172 private:
173 IMAGE_DEBUG_MISC image_debug_misc_; 173 IMAGE_DEBUG_MISC image_debug_misc_;
174 std::string data_; 174 std::string data_;
175 string16 data_utf16_; 175 base::string16 data_utf16_;
176 176
177 DISALLOW_COPY_AND_ASSIGN(MinidumpModuleMiscDebugRecordWriter); 177 DISALLOW_COPY_AND_ASSIGN(MinidumpModuleMiscDebugRecordWriter);
178 }; 178 };
179 179
180 //! \brief The writer for a MINIDUMP_MODULE object in a minidump file. 180 //! \brief The writer for a MINIDUMP_MODULE object in a minidump file.
181 //! 181 //!
182 //! Because MINIDUMP_MODULE objects only appear as elements of 182 //! Because MINIDUMP_MODULE objects only appear as elements of
183 //! MINIDUMP_MODULE_LIST objects, this class does not write any data on its own. 183 //! MINIDUMP_MODULE_LIST objects, this class does not write any data on its own.
184 //! It makes its MINIDUMP_MODULE data available to its MinidumpModuleListWriter 184 //! It makes its MINIDUMP_MODULE data available to its MinidumpModuleListWriter
185 //! parent, which writes it as part of a MINIDUMP_MODULE_LIST. 185 //! parent, which writes it as part of a MINIDUMP_MODULE_LIST.
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after
347 private: 347 private:
348 MINIDUMP_MODULE_LIST module_list_base_; 348 MINIDUMP_MODULE_LIST module_list_base_;
349 PointerVector<MinidumpModuleWriter> modules_; 349 PointerVector<MinidumpModuleWriter> modules_;
350 350
351 DISALLOW_COPY_AND_ASSIGN(MinidumpModuleListWriter); 351 DISALLOW_COPY_AND_ASSIGN(MinidumpModuleListWriter);
352 }; 352 };
353 353
354 } // namespace crashpad 354 } // namespace crashpad
355 355
356 #endif // CRASHPAD_MINIDUMP_MINIDUMP_MODULE_WRITER_H_ 356 #endif // CRASHPAD_MINIDUMP_MINIDUMP_MODULE_WRITER_H_
OLDNEW
« no previous file with comments | « minidump/minidump_misc_info_writer_test.cc ('k') | minidump/minidump_module_writer_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698