summaryrefslogtreecommitdiffstats
path: root/net/base
diff options
context:
space:
mode:
Diffstat (limited to 'net/base')
-rw-r--r--net/base/host_resolver.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/net/base/host_resolver.h b/net/base/host_resolver.h
index bfae53c..6e61eb5 100644
--- a/net/base/host_resolver.h
+++ b/net/base/host_resolver.h
@@ -41,10 +41,9 @@ class HostResolver {
//
// When callback is null, the operation completes synchronously.
//
- // When callback is non-null, ERR_IO_PENDING is returned if the operation
- // could not be completed synchronously, in which case the result code will
- // be passed to the callback when available.
- //
+ // When callback is non-null, the operation will be performed asynchronously.
+ // ERR_IO_PENDING is returned if it has been scheduled successfully. Real
+ // result code will be passed to the completion callback.
int Resolve(const std::string& hostname, int port,
AddressList* addresses, CompletionCallback* callback);