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

Side by Side Diff: net/quic/test_tools/quic_packet_creator_peer.h

Issue 1908103002: Landing Recent QUIC changes until 4/15/2016 17:20 UTC (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix Created 4 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
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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_QUIC_TEST_TOOLS_QUIC_PACKET_CREATOR_PEER_H_ 5 #ifndef NET_QUIC_TEST_TOOLS_QUIC_PACKET_CREATOR_PEER_H_
6 #define NET_QUIC_TEST_TOOLS_QUIC_PACKET_CREATOR_PEER_H_ 6 #define NET_QUIC_TEST_TOOLS_QUIC_PACKET_CREATOR_PEER_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
(...skipping 19 matching lines...) Expand all
30 static QuicPacketNumberLength GetPacketNumberLength( 30 static QuicPacketNumberLength GetPacketNumberLength(
31 QuicPacketCreator* creator); 31 QuicPacketCreator* creator);
32 static void SetNextPacketNumberLength( 32 static void SetNextPacketNumberLength(
33 QuicPacketCreator* creator, 33 QuicPacketCreator* creator,
34 QuicPacketNumberLength next_packet_number_length); 34 QuicPacketNumberLength next_packet_number_length);
35 static QuicPacketNumberLength NextPacketNumberLength( 35 static QuicPacketNumberLength NextPacketNumberLength(
36 QuicPacketCreator* creator); 36 QuicPacketCreator* creator);
37 static void SetPacketNumber(QuicPacketCreator* creator, QuicPacketNumber s); 37 static void SetPacketNumber(QuicPacketCreator* creator, QuicPacketNumber s);
38 static void FillPacketHeader(QuicPacketCreator* creator, 38 static void FillPacketHeader(QuicPacketCreator* creator,
39 QuicPacketHeader* header); 39 QuicPacketHeader* header);
40 static size_t CreateStreamFrame(QuicPacketCreator* creator, 40 static void CreateStreamFrame(QuicPacketCreator* creator,
41 QuicStreamId id, 41 QuicStreamId id,
42 QuicIOVector iov, 42 QuicIOVector iov,
43 size_t iov_offset, 43 size_t iov_offset,
44 QuicStreamOffset offset, 44 QuicStreamOffset offset,
45 bool fin, 45 bool fin,
46 QuicFrame* frame); 46 QuicFrame* frame);
47 static SerializedPacket SerializeAllFrames(QuicPacketCreator* creator, 47 static SerializedPacket SerializeAllFrames(QuicPacketCreator* creator,
48 const QuicFrames& frames, 48 const QuicFrames& frames,
49 char* buffer, 49 char* buffer,
50 size_t buffer_len); 50 size_t buffer_len);
51 static EncryptionLevel GetEncryptionLevel(QuicPacketCreator* creator); 51 static EncryptionLevel GetEncryptionLevel(QuicPacketCreator* creator);
52 static QuicPathId GetCurrentPath(QuicPacketCreator* creator); 52 static QuicPathId GetCurrentPath(QuicPacketCreator* creator);
53 53
54 private: 54 private:
55 DISALLOW_COPY_AND_ASSIGN(QuicPacketCreatorPeer); 55 DISALLOW_COPY_AND_ASSIGN(QuicPacketCreatorPeer);
56 }; 56 };
57 57
58 } // namespace test 58 } // namespace test
59 59
60 } // namespace net 60 } // namespace net
61 61
62 #endif // NET_QUIC_TEST_TOOLS_QUIC_PACKET_CREATOR_PEER_H_ 62 #endif // NET_QUIC_TEST_TOOLS_QUIC_PACKET_CREATOR_PEER_H_
OLDNEW
« no previous file with comments | « net/quic/test_tools/quic_connection_peer.cc ('k') | net/quic/test_tools/quic_packet_creator_peer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698