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

Unified Diff: net/base/address_list.cc

Issue 12209080: Cleanup: Remove deprecated base::Value methods from net. Use base::Value too. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | net/base/x509_certificate_net_log_param.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/address_list.cc
===================================================================
--- net/base/address_list.cc (revision 181443)
+++ net/base/address_list.cc (working copy)
@@ -16,12 +16,12 @@
base::Value* NetLogAddressListCallback(const AddressList* address_list,
NetLog::LogLevel log_level) {
- DictionaryValue* dict = new DictionaryValue();
- ListValue* list = new ListValue();
+ base::DictionaryValue* dict = new base::DictionaryValue();
+ base::ListValue* list = new base::ListValue();
for (AddressList::const_iterator it = address_list->begin();
it != address_list->end(); ++it) {
- list->Append(Value::CreateStringValue(it->ToString()));
+ list->Append(new base::StringValue(it->ToString()));
}
dict->Set("address_list", list);
« no previous file with comments | « no previous file | net/base/x509_certificate_net_log_param.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698