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

Unified Diff: net/base/x509_certificate_net_log_param.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 | « net/base/address_list.cc ('k') | net/dns/dns_config_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/x509_certificate_net_log_param.cc
===================================================================
--- net/base/x509_certificate_net_log_param.cc (revision 181443)
+++ net/base/x509_certificate_net_log_param.cc (working copy)
@@ -14,12 +14,12 @@
base::Value* NetLogX509CertificateCallback(const X509Certificate* certificate,
NetLog::LogLevel log_level) {
- DictionaryValue* dict = new DictionaryValue();
- ListValue* certs = new ListValue();
+ base::DictionaryValue* dict = new base::DictionaryValue();
+ base::ListValue* certs = new base::ListValue();
std::vector<std::string> encoded_chain;
certificate->GetPEMEncodedChain(&encoded_chain);
for (size_t i = 0; i < encoded_chain.size(); ++i)
- certs->Append(base::Value::CreateStringValue(encoded_chain[i]));
+ certs->Append(new base::StringValue(encoded_chain[i]));
dict->Set("certificates", certs);
return dict;
}
« no previous file with comments | « net/base/address_list.cc ('k') | net/dns/dns_config_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698