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

Side by Side Diff: net/websockets/websocket_deflater.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
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_DEFLATER_H_ 5 #ifndef NET_WEBSOCKETS_WEBSOCKET_DEFLATER_H_
6 #define NET_WEBSOCKETS_WEBSOCKET_DEFLATER_H_ 6 #define NET_WEBSOCKETS_WEBSOCKET_DEFLATER_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9
9 #include <deque> 10 #include <deque>
10 #include <vector> 11 #include <vector>
11 12
12 #include "base/macros.h" 13 #include "base/macros.h"
13 #include "base/memory/ref_counted.h" 14 #include "base/memory/ref_counted.h"
14 #include "base/memory/scoped_ptr.h" 15 #include "base/memory/scoped_ptr.h"
15 #include "net/base/net_export.h" 16 #include "net/base/net_export.h"
16 17
17 extern "C" struct z_stream_s; 18 extern "C" struct z_stream_s;
18 19
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 std::vector<char> fixed_buffer_; 71 std::vector<char> fixed_buffer_;
71 // true if bytes were added after last Finish(). 72 // true if bytes were added after last Finish().
72 bool are_bytes_added_; 73 bool are_bytes_added_;
73 74
74 DISALLOW_COPY_AND_ASSIGN(WebSocketDeflater); 75 DISALLOW_COPY_AND_ASSIGN(WebSocketDeflater);
75 }; 76 };
76 77
77 } // namespace net 78 } // namespace net
78 79
79 #endif // NET_WEBSOCKETS_WEBSOCKET_DEFLATER_H_ 80 #endif // NET_WEBSOCKETS_WEBSOCKET_DEFLATER_H_
OLDNEW
« no previous file with comments | « net/websockets/websocket_deflate_stream_test.cc ('k') | net/websockets/websocket_end_to_end_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698