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

Side by Side Diff: third_party/crashpad/crashpad/minidump/minidump_simple_string_dictionary_writer.h

Issue 2555353002: Update Crashpad to 32981a3ee9d7c2769fb27afa038fe2e194cfa329 (Closed)
Patch Set: fix readme Created 4 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
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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 45
46 //! \brief Returns a MinidumpSimpleStringDictionaryEntry referencing this 46 //! \brief Returns a MinidumpSimpleStringDictionaryEntry referencing this
47 //! object’s data. 47 //! object’s data.
48 //! 48 //!
49 //! This method is expected to be called by a 49 //! This method is expected to be called by a
50 //! MinidumpSimpleStringDictionaryWriter in order to obtain a 50 //! MinidumpSimpleStringDictionaryWriter in order to obtain a
51 //! MinidumpSimpleStringDictionaryEntry to include in its list. 51 //! MinidumpSimpleStringDictionaryEntry to include in its list.
52 //! 52 //!
53 //! \note Valid in #kStateWritable. 53 //! \note Valid in #kStateWritable.
54 const MinidumpSimpleStringDictionaryEntry* 54 const MinidumpSimpleStringDictionaryEntry*
55 MinidumpSimpleStringDictionaryEntry() const; 55 GetMinidumpSimpleStringDictionaryEntry() const;
56 56
57 //! \brief Sets the strings to be written as the entry object’s key and value. 57 //! \brief Sets the strings to be written as the entry object’s key and value.
58 //! 58 //!
59 //! \note Valid in #kStateMutable. 59 //! \note Valid in #kStateMutable.
60 void SetKeyValue(const std::string& key, const std::string& value); 60 void SetKeyValue(const std::string& key, const std::string& value);
61 61
62 //! \brief Retrieves the key to be written. 62 //! \brief Retrieves the key to be written.
63 //! 63 //!
64 //! \note Valid in any state. 64 //! \note Valid in any state.
65 const std::string& Key() const { return key_.UTF8(); } 65 const std::string& Key() const { return key_.UTF8(); }
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
138 138
139 std::unique_ptr<MinidumpSimpleStringDictionary> 139 std::unique_ptr<MinidumpSimpleStringDictionary>
140 simple_string_dictionary_base_; 140 simple_string_dictionary_base_;
141 141
142 DISALLOW_COPY_AND_ASSIGN(MinidumpSimpleStringDictionaryWriter); 142 DISALLOW_COPY_AND_ASSIGN(MinidumpSimpleStringDictionaryWriter);
143 }; 143 };
144 144
145 } // namespace crashpad 145 } // namespace crashpad
146 146
147 #endif // CRASHPAD_MINIDUMP_MINIDUMP_SIMPLE_STRING_DICTIONARY_WRITER_H_ 147 #endif // CRASHPAD_MINIDUMP_MINIDUMP_SIMPLE_STRING_DICTIONARY_WRITER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698