| OLD | NEW |
| 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "base/logging.h" | 5 #include "base/logging.h" |
| 6 #include "base/string_util.h" | 6 #include "base/string_util.h" |
| 7 #include "base/utf_string_conversions.h" |
| 7 #include "base/values.h" | 8 #include "base/values.h" |
| 8 | 9 |
| 9 ///////////////////// Value //////////////////// | 10 ///////////////////// Value //////////////////// |
| 10 | 11 |
| 11 Value::~Value() { | 12 Value::~Value() { |
| 12 } | 13 } |
| 13 | 14 |
| 14 // static | 15 // static |
| 15 Value* Value::CreateNullValue() { | 16 Value* Value::CreateNullValue() { |
| 16 return new Value(TYPE_NULL); | 17 return new Value(TYPE_NULL); |
| (...skipping 639 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 656 lhs_it != end() && rhs_it != other_list->end(); | 657 lhs_it != end() && rhs_it != other_list->end(); |
| 657 ++lhs_it, ++rhs_it) { | 658 ++lhs_it, ++rhs_it) { |
| 658 if (!(*lhs_it)->Equals(*rhs_it)) | 659 if (!(*lhs_it)->Equals(*rhs_it)) |
| 659 return false; | 660 return false; |
| 660 } | 661 } |
| 661 if (lhs_it != end() || rhs_it != other_list->end()) | 662 if (lhs_it != end() || rhs_it != other_list->end()) |
| 662 return false; | 663 return false; |
| 663 | 664 |
| 664 return true; | 665 return true; |
| 665 } | 666 } |
| OLD | NEW |