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

Unified Diff: net/base/host_resolver.h

Issue 345034: Add a command line flag to force all network traffic through a particular ser... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 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
« no previous file with comments | « net/base/fixed_host_resolver.cc ('k') | net/net.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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,
« no previous file with comments | « net/base/fixed_host_resolver.cc ('k') | net/net.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698