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

Side by Side Diff: net/quic/congestion_control/inter_arrival_bitrate_ramp_up_test.cc

Issue 117903005: compile error fix for VS2013 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
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
« no previous file with comments | « chrome/test/base/browser_tests_main.cc ('k') | no next file » | 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 #include <algorithm>
6
5 #include "base/basictypes.h" 7 #include "base/basictypes.h"
6 #include "base/logging.h" 8 #include "base/logging.h"
7 #include "net/quic/congestion_control/inter_arrival_bitrate_ramp_up.h" 9 #include "net/quic/congestion_control/inter_arrival_bitrate_ramp_up.h"
8 #include "net/quic/test_tools/mock_clock.h" 10 #include "net/quic/test_tools/mock_clock.h"
9 #include "testing/gtest/include/gtest/gtest.h" 11 #include "testing/gtest/include/gtest/gtest.h"
10 12
11 namespace net { 13 namespace net {
12 namespace test { 14 namespace test {
13 15
14 class InterArrivalBitrateRampUpTest : public ::testing::Test { 16 class InterArrivalBitrateRampUpTest : public ::testing::Test {
(...skipping 380 matching lines...) Expand 10 before | Expand all | Expand 10 after
395 EXPECT_GE(channel_estimate, sent_bitrate); 397 EXPECT_GE(channel_estimate, sent_bitrate);
396 EXPECT_LE(halfway_point, sent_bitrate); 398 EXPECT_LE(halfway_point, sent_bitrate);
397 } 399 }
398 clock_.AdvanceTime(hundred_ms_); 400 clock_.AdvanceTime(hundred_ms_);
399 sent_bitrate = bitrate_ramp_up_.GetNewBitrate(sent_bitrate); 401 sent_bitrate = bitrate_ramp_up_.GetNewBitrate(sent_bitrate);
400 EXPECT_LE(channel_estimate, sent_bitrate); 402 EXPECT_LE(channel_estimate, sent_bitrate);
401 } 403 }
402 404
403 } // namespace test 405 } // namespace test
404 } // namespace net 406 } // namespace net
OLDNEW
« no previous file with comments | « chrome/test/base/browser_tests_main.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698