Index: net/base/host_resolver.h |
diff --git a/net/base/host_resolver.h b/net/base/host_resolver.h |
index cfd1c6e11fac97b3dedd01824d42feb1a0a1d665..6b0ef1bde95aa59b11d0d3db3e6e4d9a80b096a5 100644 |
--- a/net/base/host_resolver.h |
+++ b/net/base/host_resolver.h |
@@ -145,7 +145,7 @@ class NET_EXPORT HostResolver { |
// incompatible IP literal (e.g. IPv6 is disabled and it is an IPv6 |
// literal). |
// |
- // If the operation cannnot be completed synchronously, ERR_IO_PENDING will |
+ // If the operation cannot be completed synchronously, ERR_IO_PENDING will |
// be returned and the real result code will be passed to the completion |
// callback. Otherwise the result code is returned immediately from this |
// call. |
@@ -157,7 +157,7 @@ class NET_EXPORT HostResolver { |
// Profiling information for the request is saved to |net_log| if non-NULL. |
virtual int Resolve(const RequestInfo& info, |
AddressList* addresses, |
- OldCompletionCallback* callback, |
+ const CompletionCallback& callback, |
RequestHandle* out_req, |
const BoundNetLog& net_log) = 0; |