Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(331)

Side by Side Diff: net/base/next_proto.h

Issue 9959033: Move NextProto enum to a new file net/socket/next_proto.h (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Unwrap short lines. Created 8 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | net/http/http_network_layer.cc » ('j') | net/socket/socket_test_util.h » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef NET_BASE_NEXT_PROTO_H_
wtc 2012/03/30 20:53:51 Please move this header to the net/socket director
Ryan Hamilton 2012/03/30 21:12:13 Done.
6 #define NET_BASE_NEXT_PROTO_H_
7 #pragma once
8
9 namespace net {
10
11 // Next Protocol Negotiation (NPN), if successful, results in agreement on an
12 // application-level string that specifies the application level protocol to
13 // use over the TLS connection. NextProto enumerates the application level
14 // protocols that we recognise.
15 enum NextProto {
16 kProtoUnknown = 0,
17 kProtoHTTP11 = 1,
18 kProtoSPDY1 = 2,
19 kProtoSPDY2 = 3,
20 kProtoSPDY21 = 4,
21 kProtoSPDY3 = 5,
22 };
23
24 } // namespace net
25
26 #endif // NET_BASE_NEXT_PROTO_H_
OLDNEW
« no previous file with comments | « no previous file | net/http/http_network_layer.cc » ('j') | net/socket/socket_test_util.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698