Index: net/dns/host_resolver.h |
diff --git a/net/dns/host_resolver.h b/net/dns/host_resolver.h |
index 0203dc9a5d9650600ec10d6fa73e08efd4f3f45a..cbd1244c87f09f8eaa39f380483d7e0e0427862c 100644 |
--- a/net/dns/host_resolver.h |
+++ b/net/dns/host_resolver.h |
@@ -9,6 +9,7 @@ |
#include "base/basictypes.h" |
#include "base/memory/scoped_ptr.h" |
+#include "base/values.h" |
#include "net/base/address_family.h" |
#include "net/base/completion_callback.h" |
#include "net/base/host_port_pair.h" |
@@ -184,7 +185,7 @@ class NET_EXPORT HostResolver { |
// Returns the current DNS configuration |this| is using, as a Value, or NULL |
// if it's configured to always use the system host resolver. Caller takes |
// ownership of the returned Value. |
- virtual base::Value* GetDnsConfigAsValue() const; |
+ virtual scoped_ptr<base::Value> GetDnsConfigAsValue() const; |
// Creates a HostResolver implementation that queries the underlying system. |
// (Except if a unit-test has changed the global HostResolverProc using |