DescriptionMake base::DictionaryValue::Set* return pointers
This change changes the various base::DictionaryValue::Set* methods to
return a pointer to the newly added Value. This is in response to the
discussion on https://codereview.chromium.org/2845113002/.
Furthermore, this is motivated by the fact that various insert methods
of std::map also return a handle to the just added element.
R=brettw@chromium.org
BUG=646113
Review-Url: https://codereview.chromium.org/2850773002
Cr-Commit-Position: refs/heads/master@{#468146}
Committed: https://chromium.googlesource.com/chromium/src/+/b94e542cdd7e52a69d1c439d38cec3631e133583
Patch Set 1 #Patch Set 2 : Fix Android Compile Error #Patch Set 3 : Add SetDictionary* and SetList* #
Messages
Total messages: 17 (13 generated)
|