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

Side by Side Diff: net/websockets/websocket_deflate_predictor.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_DEFLATE_PREDICTOR_H_ 5 #ifndef NET_WEBSOCKETS_WEBSOCKET_DEFLATE_PREDICTOR_H_
6 #define NET_WEBSOCKETS_WEBSOCKET_DEFLATE_PREDICTOR_H_ 6 #define NET_WEBSOCKETS_WEBSOCKET_DEFLATE_PREDICTOR_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9
9 #include <vector> 10 #include <vector>
10 11
11 #include "base/memory/scoped_ptr.h" 12 #include "base/memory/scoped_ptr.h"
12 #include "net/base/net_export.h" 13 #include "net/base/net_export.h"
13 14
14 namespace net { 15 namespace net {
15 16
16 struct WebSocketFrame; 17 struct WebSocketFrame;
17 18
18 // WebSocketDeflatePredictor is an interface class used for judging whether 19 // WebSocketDeflatePredictor is an interface class used for judging whether
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 // Records frame data for future prediction. 52 // Records frame data for future prediction.
52 // Only data frames should be recorded. Do not pass control frames' data. 53 // Only data frames should be recorded. Do not pass control frames' data.
53 // All data frames written by the stream must be recorded in order 54 // All data frames written by the stream must be recorded in order
54 // regardless of whether they are compressed or not. 55 // regardless of whether they are compressed or not.
55 virtual void RecordWrittenDataFrame(const WebSocketFrame* frame) = 0; 56 virtual void RecordWrittenDataFrame(const WebSocketFrame* frame) = 0;
56 }; 57 };
57 58
58 } // namespace net 59 } // namespace net
59 60
60 #endif // NET_WEBSOCKETS_WEBSOCKET_DEFLATE_PREDICTOR_H_ 61 #endif // NET_WEBSOCKETS_WEBSOCKET_DEFLATE_PREDICTOR_H_
OLDNEW
« no previous file with comments | « net/websockets/websocket_deflate_parameters.h ('k') | net/websockets/websocket_deflate_predictor_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698