Chromium Code Reviews| Index: net/http/http_stream_factory.h |
| diff --git a/net/http/http_stream_factory.h b/net/http/http_stream_factory.h |
| index 359f7f0dbda25b97051b813786e7dca6c413b34e..e7e396f7c65da6a90a63c4537367593a066f638c 100644 |
| --- a/net/http/http_stream_factory.h |
| +++ b/net/http/http_stream_factory.h |
| @@ -54,6 +54,12 @@ struct SSLConfig; |
| // which no callbacks will be invoked. |
| class NET_EXPORT_PRIVATE HttpStreamRequest { |
| public: |
| + // Indicates which type of stream is requested. |
| + enum StreamType { |
| + BIDIRECTIONAL_STREAM_SPDY_JOB, |
|
Ryan Hamilton
2016/03/03 04:14:57
This name is pretty long. How about just BIDIRECTI
xunjieli
2016/03/03 16:54:19
Done.
|
| + HTTP_STREAM, |
| + }; |
| + |
| // The HttpStreamRequest::Delegate is a set of callback methods for a |
| // HttpStreamRequestJob. Generally, only one of these methods will be |
| // called as a result of a stream request. |