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

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

Issue 136853005: Use basictypes.h consistenly in QUIC code instead of macros.h and/or (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 11 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 | Annotate | Revision Log
« no previous file with comments | « net/quic/quic_fec_group.cc ('k') | net/quic/quic_framer_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 <algorithm> 5 #include <algorithm>
6 #include <vector> 6 #include <vector>
7 7
8 #include "base/basictypes.h"
8 #include "base/logging.h" 9 #include "base/logging.h"
9 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
10 #include "net/quic/quic_fec_group.h" 11 #include "net/quic/quic_fec_group.h"
11 #include "testing/gmock/include/gmock/gmock.h" 12 #include "testing/gmock/include/gmock/gmock.h"
12 13
13 using ::testing::_; 14 using ::testing::_;
14 using base::StringPiece; 15 using base::StringPiece;
15 16
16 namespace net { 17 namespace net {
17 18
(...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after
210 211
211 EXPECT_FALSE(group.ProtectsPacketsBefore(1)); 212 EXPECT_FALSE(group.ProtectsPacketsBefore(1));
212 EXPECT_FALSE(group.ProtectsPacketsBefore(2)); 213 EXPECT_FALSE(group.ProtectsPacketsBefore(2));
213 EXPECT_TRUE(group.ProtectsPacketsBefore(3)); 214 EXPECT_TRUE(group.ProtectsPacketsBefore(3));
214 EXPECT_TRUE(group.ProtectsPacketsBefore(4)); 215 EXPECT_TRUE(group.ProtectsPacketsBefore(4));
215 EXPECT_TRUE(group.ProtectsPacketsBefore(5)); 216 EXPECT_TRUE(group.ProtectsPacketsBefore(5));
216 EXPECT_TRUE(group.ProtectsPacketsBefore(50)); 217 EXPECT_TRUE(group.ProtectsPacketsBefore(50));
217 } 218 }
218 219
219 } // namespace net 220 } // namespace net
OLDNEW
« no previous file with comments | « net/quic/quic_fec_group.cc ('k') | net/quic/quic_framer_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698