summaryrefslogtreecommitdiffstats
path: root/net/http/http_stream_factory.h
diff options
context:
space:
mode:
authorsimonjam@chromium.org <simonjam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-12-20 22:17:03 +0000
committersimonjam@chromium.org <simonjam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-12-20 22:17:03 +0000
commit837c4f559f45a1b66c1e6af28924ce51a1133c03 (patch)
tree15d3465f40abd57ccebae87c9df0c05bdc2668f0 /net/http/http_stream_factory.h
parent096fa7b6ccf1c147a4c510516c6aa93419bb4d0a (diff)
downloadchromium_src-837c4f559f45a1b66c1e6af28924ce51a1133c03.zip
chromium_src-837c4f559f45a1b66c1e6af28924ce51a1133c03.tar.gz
chromium_src-837c4f559f45a1b66c1e6af28924ce51a1133c03.tar.bz2
Add HTTP pipelining to net-internals:
- Make HttpPipelinedConnection its own NetLog::Source - Report when pipelines are constructed and deleted - Report pipelining feedback - Add a HTTP Pipelining tab with status, active pipelines, and known hosts. BUG=None TEST=chrome://net-internals Review URL: http://codereview.chromium.org/8947012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@115197 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/http/http_stream_factory.h')
-rw-r--r--net/http/http_stream_factory.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/net/http/http_stream_factory.h b/net/http/http_stream_factory.h
index 0db35af..21e9379 100644
--- a/net/http/http_stream_factory.h
+++ b/net/http/http_stream_factory.h
@@ -19,6 +19,10 @@
class GURL;
+namespace base {
+class Value;
+}
+
namespace net {
class AuthCredentials;
@@ -179,6 +183,11 @@ class NET_EXPORT HttpStreamFactory {
virtual void AddTLSIntolerantServer(const HostPortPair& server) = 0;
virtual bool IsTLSIntolerantServer(const HostPortPair& server) const = 0;
+ // If pipelining is supported, creates a Value summary of the currently active
+ // pipelines. Caller assumes ownership of the returned value. Otherwise,
+ // returns an empty Value.
+ virtual base::Value* PipelineInfoToValue() const = 0;
+
// Static settings
// Reset all static settings to initialized values. Used to init test suite.