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

Unified Diff: net/dns/dns_config_service.h

Issue 1135373002: Updated NetLog::ParametersCallback & all related calbacks returning value as scoped_ptr<base::Value… Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 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/disk_cache/simple/simple_net_log_parameters.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/dns/dns_config_service.h
diff --git a/net/dns/dns_config_service.h b/net/dns/dns_config_service.h
index d7f3b0729ed16bc2db3fba9e991bc09d622461df..6e81fdecfc40f96058995a1bde3b572804fdf88f 100644
--- a/net/dns/dns_config_service.h
+++ b/net/dns/dns_config_service.h
@@ -77,7 +77,7 @@ struct NET_EXPORT_PRIVATE DnsConfig {
// Returns a Value representation of |this|. Caller takes ownership of the
// returned Value. For performance reasons, the Value only contains the
// number of hosts rather than the full list.
- base::Value* ToValue() const;
+ scoped_ptr<base::Value> ToValue() const;
bool IsValid() const {
return !nameservers.empty();
« no previous file with comments | « net/disk_cache/simple/simple_net_log_parameters.cc ('k') | net/dns/dns_config_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698