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

Side by Side Diff: minidump/minidump_simple_string_dictionary_writer.h

Issue 895313004: win: convert MinidumpSimpleStringDictionaryWriter to scoped_ptr (Closed) Base URL: https://chromium.googlesource.com/crashpad/crashpad@master
Patch Set: remove mistaken addition Created 5 years, 10 months 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 | « no previous file | minidump/minidump_simple_string_dictionary_writer.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 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
128 128
129 bool Freeze() override; 129 bool Freeze() override;
130 size_t SizeOfObject() override; 130 size_t SizeOfObject() override;
131 std::vector<MinidumpWritable*> Children() override; 131 std::vector<MinidumpWritable*> Children() override;
132 bool WriteObject(FileWriterInterface* file_writer) override; 132 bool WriteObject(FileWriterInterface* file_writer) override;
133 133
134 private: 134 private:
135 // This object owns the MinidumpSimpleStringDictionaryEntryWriter objects. 135 // This object owns the MinidumpSimpleStringDictionaryEntryWriter objects.
136 std::map<std::string, MinidumpSimpleStringDictionaryEntryWriter*> entries_; 136 std::map<std::string, MinidumpSimpleStringDictionaryEntryWriter*> entries_;
137 137
138 MinidumpSimpleStringDictionary simple_string_dictionary_base_; 138 scoped_ptr<MinidumpSimpleStringDictionary> simple_string_dictionary_base_;
139 139
140 DISALLOW_COPY_AND_ASSIGN(MinidumpSimpleStringDictionaryWriter); 140 DISALLOW_COPY_AND_ASSIGN(MinidumpSimpleStringDictionaryWriter);
141 }; 141 };
142 142
143 } // namespace crashpad 143 } // namespace crashpad
144 144
145 #endif // CRASHPAD_MINIDUMP_MINIDUMP_SIMPLE_STRING_DICTIONARY_WRITER_H_ 145 #endif // CRASHPAD_MINIDUMP_MINIDUMP_SIMPLE_STRING_DICTIONARY_WRITER_H_
OLDNEW
« no previous file with comments | « no previous file | minidump/minidump_simple_string_dictionary_writer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698