Index: net/base/host_resolver.h |
=================================================================== |
--- net/base/host_resolver.h (revision 30486) |
+++ net/base/host_resolver.h (working copy) |
@@ -116,11 +116,13 @@ |
// |
// When callback is null, the operation completes synchronously. |
// |
- // 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. If |req| is |
- // non-NULL, then |*req| will be filled with a handle to the async request. |
- // This handle is not valid after the request has completed. |
+ // When callback is non-null, the operation may be performed asynchronously. |
+ // If the operation cannnot 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. |
+ // If |req| is non-NULL, then |*req| will be filled with a handle to the |
+ // async request. This handle is not valid after the request has completed. |
// |
// Profiling information for the request is saved to |load_log| if non-NULL. |
virtual int Resolve(const RequestInfo& info, |