summaryrefslogtreecommitdiffstats
path: root/net/http/stream_factory.h
diff options
context:
space:
mode:
authorjar@chromium.org <jar@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-11-29 23:46:17 +0000
committerjar@chromium.org <jar@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-11-29 23:46:17 +0000
commit4376ec3d152063896078cae661f72a9b2345d35b (patch)
treebf0a49755e79cf6a268b9b726c36604b2cf369b7 /net/http/stream_factory.h
parente417b1aa648f4a2eff926b43b1ebdc0ecab63185 (diff)
downloadchromium_src-4376ec3d152063896078cae661f72a9b2345d35b.zip
chromium_src-4376ec3d152063896078cae661f72a9b2345d35b.tar.gz
chromium_src-4376ec3d152063896078cae661f72a9b2345d35b.tar.bz2
Support predictive request for multiple preconnections
Connected up to the API for requesting more than one preconnect at a time (that API also explicitly tags requsets as preconnects, so that they can be merged with actual navication requests). BUG=64246 r=willchan,mbelshe Review URL: http://codereview.chromium.org/5271002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@67614 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/http/stream_factory.h')
-rw-r--r--net/http/stream_factory.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/net/http/stream_factory.h b/net/http/stream_factory.h
index 480df06..94b3cc8 100644
--- a/net/http/stream_factory.h
+++ b/net/http/stream_factory.h
@@ -122,7 +122,8 @@ class StreamFactory {
// Requests that enough connections for |num_streams| be opened. If
// ERR_IO_PENDING is returned, |info|, |ssl_config|, and |proxy_info| must
- // be kept alive until |callback| is invoked.
+ // be kept alive until |callback| is invoked. That callback will be given the
+ // final error code.
virtual int PreconnectStreams(int num_streams,
const HttpRequestInfo* info,
SSLConfig* ssl_config,