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

Side by Side Diff: net/quic/test_tools/quic_stream_sequencer_peer.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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_QUIC_TEST_TOOLS_QUIC_STREAM_SEQUENCER_PEER_H_ 5 #ifndef NET_QUIC_TEST_TOOLS_QUIC_STREAM_SEQUENCER_PEER_H_
6 #define NET_QUIC_TEST_TOOLS_QUIC_STREAM_SEQUENCER_PEER_H_ 6 #define NET_QUIC_TEST_TOOLS_QUIC_STREAM_SEQUENCER_PEER_H_
7 7
8 #include "base/basictypes.h" 8 #include <stddef.h>
9
10 #include "base/macros.h"
9 #include "net/quic/quic_frame_list.h" 11 #include "net/quic/quic_frame_list.h"
10 #include "net/quic/quic_protocol.h" 12 #include "net/quic/quic_protocol.h"
11 13
12 namespace net { 14 namespace net {
13 15
14 class QuicStreamSequencer; 16 class QuicStreamSequencer;
15 17
16 namespace test { 18 namespace test {
17 19
18 class QuicStreamSequencerPeer { 20 class QuicStreamSequencerPeer {
19 public: 21 public:
20 static size_t GetNumBufferedBytes(QuicStreamSequencer* sequencer); 22 static size_t GetNumBufferedBytes(QuicStreamSequencer* sequencer);
21 23
22 static bool FrameOverlapsBufferedData(QuicFrameList* buffer, 24 static bool FrameOverlapsBufferedData(QuicFrameList* buffer,
23 const QuicStreamFrame& frame); 25 const QuicStreamFrame& frame);
24 26
25 static QuicStreamOffset GetCloseOffset(QuicStreamSequencer* sequencer); 27 static QuicStreamOffset GetCloseOffset(QuicStreamSequencer* sequencer);
26 28
27 private: 29 private:
28 DISALLOW_COPY_AND_ASSIGN(QuicStreamSequencerPeer); 30 DISALLOW_COPY_AND_ASSIGN(QuicStreamSequencerPeer);
29 }; 31 };
30 32
31 } // namespace test 33 } // namespace test
32 } // namespace net 34 } // namespace net
33 35
34 #endif // NET_QUIC_TEST_TOOLS_QUIC_STREAM_SEQUENCER_PEER_H_ 36 #endif // NET_QUIC_TEST_TOOLS_QUIC_STREAM_SEQUENCER_PEER_H_
OLDNEW
« no previous file with comments | « net/quic/test_tools/quic_stream_factory_peer.cc ('k') | net/quic/test_tools/quic_sustained_bandwidth_recorder_peer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698