| Index: net/socket/next_proto.h
|
| diff --git a/net/socket/next_proto.h b/net/socket/next_proto.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..8b8c07661c2255068a3a644c328190a56a008459
|
| --- /dev/null
|
| +++ b/net/socket/next_proto.h
|
| @@ -0,0 +1,26 @@
|
| +// Copyright (c) 2011 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_
|
| +#pragma once
|
| +
|
| +namespace net {
|
| +
|
| +// 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,
|
| +};
|
| +
|
| +} // namespace net
|
| +
|
| +#endif // NET_SOCKET_NEXT_PROTO_H_
|
|
|