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

Side by Side Diff: net/websockets/websocket_extension_parser.h

Issue 1535363003: Switch to standard integer types in net/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: stddef Created 5 years 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
« no previous file with comments | « net/websockets/websocket_event_interface.h ('k') | net/websockets/websocket_frame.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef NET_WEBSOCKETS_WEBSOCKET_EXTENSION_PARSER_H_ 5 #ifndef NET_WEBSOCKETS_WEBSOCKET_EXTENSION_PARSER_H_
6 #define NET_WEBSOCKETS_WEBSOCKET_EXTENSION_PARSER_H_ 6 #define NET_WEBSOCKETS_WEBSOCKET_EXTENSION_PARSER_H_
7 7
8 #include <stddef.h>
9
8 #include <string> 10 #include <string>
9 #include <vector> 11 #include <vector>
10 12
11 #include "base/compiler_specific.h" 13 #include "base/compiler_specific.h"
14 #include "base/macros.h"
12 #include "base/strings/string_piece.h" 15 #include "base/strings/string_piece.h"
13 #include "net/base/net_export.h" 16 #include "net/base/net_export.h"
14 #include "net/websockets/websocket_extension.h" 17 #include "net/websockets/websocket_extension.h"
15 18
16 namespace net { 19 namespace net {
17 20
18 class NET_EXPORT_PRIVATE WebSocketExtensionParser { 21 class NET_EXPORT_PRIVATE WebSocketExtensionParser {
19 public: 22 public:
20 WebSocketExtensionParser(); 23 WebSocketExtensionParser();
21 ~WebSocketExtensionParser(); 24 ~WebSocketExtensionParser();
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 // The pointer of the end of the input string. 59 // The pointer of the end of the input string.
57 const char* end_; 60 const char* end_;
58 std::vector<WebSocketExtension> extensions_; 61 std::vector<WebSocketExtension> extensions_;
59 62
60 DISALLOW_COPY_AND_ASSIGN(WebSocketExtensionParser); 63 DISALLOW_COPY_AND_ASSIGN(WebSocketExtensionParser);
61 }; 64 };
62 65
63 } // namespace net 66 } // namespace net
64 67
65 #endif // NET_WEBSOCKETS_WEBSOCKET_EXTENSION_PARSER_H_ 68 #endif // NET_WEBSOCKETS_WEBSOCKET_EXTENSION_PARSER_H_
OLDNEW
« no previous file with comments | « net/websockets/websocket_event_interface.h ('k') | net/websockets/websocket_frame.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698