summaryrefslogtreecommitdiffstats
path: root/net/base/host_resolver.h
diff options
context:
space:
mode:
Diffstat (limited to 'net/base/host_resolver.h')
-rw-r--r--net/base/host_resolver.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/net/base/host_resolver.h b/net/base/host_resolver.h
index 34feacd..3283ac9 100644
--- a/net/base/host_resolver.h
+++ b/net/base/host_resolver.h
@@ -64,6 +64,8 @@ class HostResolver {
// sin(6)_port field of the sockaddr_in{6} struct. Returns OK if successful
// or an error code upon failure.
//
+ // 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.