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

Unified Diff: net/base/host_resolver.h

Issue 8549004: base::Bind: Convert HostResolver::Resolve. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 1 month 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
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;

Powered by Google App Engine
This is Rietveld 408576698