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

Side by Side Diff: net/quic/core/quic_buffered_packet_store_test.cc

Issue 2825083003: Landing Recent QUIC changes until Mon Apr 17 2017 (Closed)
Patch Set: Format Created 3 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/core/quic_buffered_packet_store.cc ('k') | net/quic/core/quic_client_session_base.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) 2016 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2016 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/core/quic_buffered_packet_store.h" 5 #include "net/quic/core/quic_buffered_packet_store.h"
6 6
7 #include <list> 7 #include <list>
8 #include <string> 8 #include <string>
9 9
10 #include "net/quic/core/quic_flags.h" 10 #include "net/quic/platform/api/quic_flags.h"
11 #include "net/quic/test_tools/mock_clock.h" 11 #include "net/quic/test_tools/mock_clock.h"
12 #include "net/quic/test_tools/quic_buffered_packet_store_peer.h" 12 #include "net/quic/test_tools/quic_buffered_packet_store_peer.h"
13 #include "net/quic/test_tools/quic_test_utils.h" 13 #include "net/quic/test_tools/quic_test_utils.h"
14 #include "testing/gmock/include/gmock/gmock.h" 14 #include "testing/gmock/include/gmock/gmock.h"
15 #include "testing/gtest/include/gtest/gtest.h" 15 #include "testing/gtest/include/gtest/gtest.h"
16 16
17 using std::string; 17 using std::string;
18 18
19 namespace net { 19 namespace net {
20 20
(...skipping 456 matching lines...) Expand 10 before | Expand all | Expand 10 after
477 EXPECT_FALSE(store_.HasBufferedPackets(connection_id)); 477 EXPECT_FALSE(store_.HasBufferedPackets(connection_id));
478 EXPECT_FALSE(store_.HasChlosBuffered()); 478 EXPECT_FALSE(store_.HasChlosBuffered());
479 store_.DiscardPackets(connection_id); 479 store_.DiscardPackets(connection_id);
480 EXPECT_FALSE(store_.HasBufferedPackets(connection_id)); 480 EXPECT_FALSE(store_.HasBufferedPackets(connection_id));
481 EXPECT_FALSE(store_.HasChlosBuffered()); 481 EXPECT_FALSE(store_.HasChlosBuffered());
482 } 482 }
483 483
484 } // namespace 484 } // namespace
485 } // namespace test 485 } // namespace test
486 } // namespace net 486 } // namespace net
OLDNEW
« no previous file with comments | « net/quic/core/quic_buffered_packet_store.cc ('k') | net/quic/core/quic_client_session_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698