Index: net/base/host_resolver.h |
diff --git a/net/base/host_resolver.h b/net/base/host_resolver.h |
index b47fa8160fd083fda87c0853ac9e5a93455a4d7e..a5966103d6a24495a18733be4dd5b09fbe501d10 100644 |
--- a/net/base/host_resolver.h |
+++ b/net/base/host_resolver.h |
@@ -116,7 +116,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. |
@@ -128,7 +128,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; |