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

Unified Diff: base/values.cc

Issue 10825273: Clean-up inline members of nested classes (base/) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 4 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 side-by-side diff with in-line comments
Download patch
« base/values.h ('K') | « base/values.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/values.cc
diff --git a/base/values.cc b/base/values.cc
index 1ccc9ec4a13755fab4115b20303be9872896f9b0..868a745c75050ac76ff8ea969b403e042a8d49c2 100644
--- a/base/values.cc
+++ b/base/values.cc
@@ -750,6 +750,17 @@ void DictionaryValue::Swap(DictionaryValue* other) {
dictionary_.swap(other->dictionary_);
}
+DictionaryValue::key_iterator::key_iterator(ValueMap::const_iterator itr) {
+ itr_ = itr;
+}
+
+DictionaryValue::key_iterator::key_iterator(const key_iterator& rhs) {
+ itr_ = rhs.itr_;
+}
+
+DictionaryValue::Iterator::Iterator(const DictionaryValue& target)
+ : target_(target), it_(target.dictionary_.begin()) {}
jar (doing other things) 2012/08/09 16:30:27 nit: one initializer per line, now that you wrappe
hans 2012/08/09 18:28:48 Done.
+
DictionaryValue* DictionaryValue::DeepCopy() const {
DictionaryValue* result = new DictionaryValue;
« base/values.h ('K') | « base/values.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698