| // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| #ifndef NET_SOCKET_NEXT_PROTO_H_ |
| #define NET_SOCKET_NEXT_PROTO_H_ |
| // 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. |
| kProtoMinimumVersion = kProtoHTTP11, |
| // TODO(akalin): Stop advertising SPDY/1 and remove this. |
| kProtoSPDYMinimumVersion = kProtoSPDY1, |
| // TODO(akalin): Stop adverising SPDY/2.1, too. |
| // We lump in HTTP/2 with the SPDY protocols for now. |
| kProtoSPDYMaximumVersion = kProtoHTTP2Draft04, |
| kProtoMaximumVersion = kProtoQUIC1SPDY3, |
| #endif // NET_SOCKET_NEXT_PROTO_H_ |