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

Side by Side Diff: net/quic/quic_packet_generator_test.cc

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
« no previous file with comments | « net/quic/quic_packet_creator_test.cc ('k') | net/quic/quic_sent_packet_manager_test.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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #include "net/quic/quic_packet_generator.h" 5 #include "net/quic/quic_packet_generator.h"
6 6
7 #include <cstdint>
8 #include <memory>
7 #include <string> 9 #include <string>
8 10
9 #include "base/macros.h" 11 #include "base/macros.h"
10 #include "net/quic/crypto/crypto_protocol.h" 12 #include "net/quic/crypto/crypto_protocol.h"
11 #include "net/quic/crypto/null_encrypter.h" 13 #include "net/quic/crypto/null_encrypter.h"
12 #include "net/quic/crypto/quic_decrypter.h" 14 #include "net/quic/crypto/quic_decrypter.h"
13 #include "net/quic/crypto/quic_encrypter.h" 15 #include "net/quic/crypto/quic_encrypter.h"
14 #include "net/quic/quic_flags.h" 16 #include "net/quic/quic_flags.h"
15 #include "net/quic/quic_simple_buffer_allocator.h" 17 #include "net/quic/quic_simple_buffer_allocator.h"
16 #include "net/quic/quic_utils.h" 18 #include "net/quic/quic_utils.h"
(...skipping 846 matching lines...) Expand 10 before | Expand all | Expand 10 after
863 EXPECT_CALL(delegate_, OnSerializedPacket(_)) 865 EXPECT_CALL(delegate_, OnSerializedPacket(_))
864 .WillOnce(Invoke(this, &QuicPacketGeneratorTest::SavePacket)); 866 .WillOnce(Invoke(this, &QuicPacketGeneratorTest::SavePacket));
865 generator_.FlushAllQueuedFrames(); 867 generator_.FlushAllQueuedFrames();
866 EXPECT_FALSE(generator_.HasQueuedFrames()); 868 EXPECT_FALSE(generator_.HasQueuedFrames());
867 generator_.SetCurrentPath(kTestPathId1, 1, 0); 869 generator_.SetCurrentPath(kTestPathId1, 1, 0);
868 EXPECT_EQ(kTestPathId1, QuicPacketCreatorPeer::GetCurrentPath(creator_)); 870 EXPECT_EQ(kTestPathId1, QuicPacketCreatorPeer::GetCurrentPath(creator_));
869 } 871 }
870 872
871 } // namespace test 873 } // namespace test
872 } // namespace net 874 } // namespace net
OLDNEW
« no previous file with comments | « net/quic/quic_packet_creator_test.cc ('k') | net/quic/quic_sent_packet_manager_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698