| Index: net/socket/stream_socket.h
|
| diff --git a/net/socket/stream_socket.h b/net/socket/stream_socket.h
|
| index e7ea2bee56911104852162c9a83dc846327a0759..9efbcfd022ca04ea0ab61e72e978eb338dad513f 100644
|
| --- a/net/socket/stream_socket.h
|
| +++ b/net/socket/stream_socket.h
|
| @@ -20,6 +20,19 @@ class NET_EXPORT_PRIVATE StreamSocket : public Socket {
|
| public:
|
| virtual ~StreamSocket() {}
|
|
|
| + // Next Protocol Negotiation (NPN), if successful, results in agreement on an
|
| + // application-level string that specifies the application level protocol to
|
| + // use over the TLS connection. NextProto enumerates the application level
|
| + // protocols that we recognise.
|
| + enum NextProto {
|
| + kProtoUnknown = 0,
|
| + kProtoHTTP11 = 1,
|
| + kProtoSPDY1 = 2,
|
| + kProtoSPDY2 = 3,
|
| + kProtoSPDY21 = 4,
|
| + kProtoSPDY3 = 5,
|
| + };
|
| +
|
| // Called to establish a connection. Returns OK if the connection could be
|
| // established synchronously. Otherwise, ERR_IO_PENDING is returned and the
|
| // given callback will run asynchronously when the connection is established
|
|
|