| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 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 "base/test/simple_test_tick_clock.h" | 5 #include "base/test/simple_test_tick_clock.h" |
| 6 #include "media/cast/pacing/paced_sender.h" | 6 #include "media/cast/net/pacing/paced_sender.h" |
| 7 #include "media/cast/test/fake_task_runner.h" | 7 #include "media/cast/test/fake_task_runner.h" |
| 8 #include "testing/gmock/include/gmock/gmock.h" | 8 #include "testing/gmock/include/gmock/gmock.h" |
| 9 | 9 |
| 10 namespace media { | 10 namespace media { |
| 11 namespace cast { | 11 namespace cast { |
| 12 | 12 |
| 13 using testing::_; | 13 using testing::_; |
| 14 | 14 |
| 15 static const uint8 kValue = 123; | 15 static const uint8 kValue = 123; |
| 16 static const size_t kSize1 = 100; | 16 static const size_t kSize1 = 100; |
| (...skipping 231 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 248 mock_transport_.AddExpectedSize(kSize4, 5); | 248 mock_transport_.AddExpectedSize(kSize4, 5); |
| 249 testing_clock_.Advance(timeout_10ms); | 249 testing_clock_.Advance(timeout_10ms); |
| 250 task_runner_->RunTasks(); | 250 task_runner_->RunTasks(); |
| 251 | 251 |
| 252 testing_clock_.Advance(timeout_10ms); | 252 testing_clock_.Advance(timeout_10ms); |
| 253 task_runner_->RunTasks(); | 253 task_runner_->RunTasks(); |
| 254 } | 254 } |
| 255 | 255 |
| 256 } // namespace cast | 256 } // namespace cast |
| 257 } // namespace media | 257 } // namespace media |
| OLD | NEW |