| 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 <stdint.h> | 5 #include <stdint.h> |
| 6 | 6 |
| 7 #include "base/big_endian.h" | 7 #include "base/big_endian.h" |
| 8 #include "base/test/simple_test_tick_clock.h" | 8 #include "base/test/simple_test_tick_clock.h" |
| 9 #include "media/cast/logging/logging_impl.h" |
| 9 #include "media/cast/logging/simple_event_subscriber.h" | 10 #include "media/cast/logging/simple_event_subscriber.h" |
| 10 #include "media/cast/test/fake_single_thread_task_runner.h" | 11 #include "media/cast/test/fake_single_thread_task_runner.h" |
| 11 #include "media/cast/transport/pacing/paced_sender.h" | 12 #include "media/cast/transport/pacing/paced_sender.h" |
| 12 #include "testing/gmock/include/gmock/gmock.h" | 13 #include "testing/gmock/include/gmock/gmock.h" |
| 13 | 14 |
| 14 namespace media { | 15 namespace media { |
| 15 namespace cast { | 16 namespace cast { |
| 16 namespace transport { | 17 namespace transport { |
| 17 | 18 |
| 18 using testing::_; | 19 using testing::_; |
| (...skipping 323 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 342 testing_clock_.Advance(timeout_10ms); | 343 testing_clock_.Advance(timeout_10ms); |
| 343 task_runner_->RunTasks(); | 344 task_runner_->RunTasks(); |
| 344 | 345 |
| 345 // No more packets. | 346 // No more packets. |
| 346 EXPECT_TRUE(RunUntilEmpty(5)); | 347 EXPECT_TRUE(RunUntilEmpty(5)); |
| 347 } | 348 } |
| 348 | 349 |
| 349 } // namespace transport | 350 } // namespace transport |
| 350 } // namespace cast | 351 } // namespace cast |
| 351 } // namespace media | 352 } // namespace media |
| OLD | NEW |