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

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

Issue 2706893002: Make QuicFramer unaware of path. Also, send/receive PathClose has no effect. (Closed)
Patch Set: Created 3 years, 10 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
« no previous file with comments | « net/quic/core/quic_framer_test.cc ('k') | net/quic/test_tools/quic_framer_peer.cc » ('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 (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_FRAMER_PEER_H_ 5 #ifndef NET_QUIC_TEST_TOOLS_QUIC_FRAMER_PEER_H_
6 #define NET_QUIC_TEST_TOOLS_QUIC_FRAMER_PEER_H_ 6 #define NET_QUIC_TEST_TOOLS_QUIC_FRAMER_PEER_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "net/quic/core/crypto/quic_encrypter.h" 9 #include "net/quic/core/crypto/quic_encrypter.h"
10 #include "net/quic/core/quic_framer.h" 10 #include "net/quic/core/quic_framer.h"
(...skipping 19 matching lines...) Expand all
30 static void SetPerspective(QuicFramer* framer, Perspective perspective); 30 static void SetPerspective(QuicFramer* framer, Perspective perspective);
31 31
32 // SwapCrypters exchanges the state of the crypters of |framer1| with 32 // SwapCrypters exchanges the state of the crypters of |framer1| with
33 // |framer2|. 33 // |framer2|.
34 static void SwapCrypters(QuicFramer* framer1, QuicFramer* framer2); 34 static void SwapCrypters(QuicFramer* framer1, QuicFramer* framer2);
35 35
36 static QuicEncrypter* GetEncrypter(QuicFramer* framer, EncryptionLevel level); 36 static QuicEncrypter* GetEncrypter(QuicFramer* framer, EncryptionLevel level);
37 37
38 static QuicPacketNumber GetLastPacketNumber(QuicFramer* framer); 38 static QuicPacketNumber GetLastPacketNumber(QuicFramer* framer);
39 39
40 static QuicPathId GetLastPathId(QuicFramer* framer);
41
42 static bool IsPathClosed(QuicFramer* framer, QuicPathId path_id);
43
44 private: 40 private:
45 DISALLOW_COPY_AND_ASSIGN(QuicFramerPeer); 41 DISALLOW_COPY_AND_ASSIGN(QuicFramerPeer);
46 }; 42 };
47 43
48 } // namespace test 44 } // namespace test
49 45
50 } // namespace net 46 } // namespace net
51 47
52 #endif // NET_QUIC_TEST_TOOLS_QUIC_FRAMER_PEER_H_ 48 #endif // NET_QUIC_TEST_TOOLS_QUIC_FRAMER_PEER_H_
OLDNEW
« no previous file with comments | « net/quic/core/quic_framer_test.cc ('k') | net/quic/test_tools/quic_framer_peer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698