| 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 <vector> | 5 #include <vector> |
| 6 | 6 |
| 7 #include "base/bind.h" | 7 #include "base/bind.h" |
| 8 #include "base/memory/scoped_ptr.h" | 8 #include "base/memory/scoped_ptr.h" |
| 9 #include "base/test/simple_test_tick_clock.h" | 9 #include "base/test/simple_test_tick_clock.h" |
| 10 #include "media/base/video_frame.h" | 10 #include "media/base/video_frame.h" |
| 11 #include "media/cast/cast_environment.h" | 11 #include "media/cast/cast_environment.h" |
| 12 #include "media/cast/pacing/mock_paced_packet_sender.h" | 12 #include "media/cast/net/pacing/mock_paced_packet_sender.h" |
| 13 #include "media/cast/pacing/paced_sender.h" | 13 #include "media/cast/net/pacing/paced_sender.h" |
| 14 #include "media/cast/test/fake_task_runner.h" | 14 #include "media/cast/test/fake_task_runner.h" |
| 15 #include "media/cast/test/video_utility.h" | 15 #include "media/cast/test/video_utility.h" |
| 16 #include "media/cast/video_sender/mock_video_encoder_controller.h" | 16 #include "media/cast/video_sender/mock_video_encoder_controller.h" |
| 17 #include "media/cast/video_sender/video_sender.h" | 17 #include "media/cast/video_sender/video_sender.h" |
| 18 #include "testing/gmock/include/gmock/gmock.h" | 18 #include "testing/gmock/include/gmock/gmock.h" |
| 19 #include "testing/gtest/include/gtest/gtest.h" | 19 #include "testing/gtest/include/gtest/gtest.h" |
| 20 | 20 |
| 21 namespace media { | 21 namespace media { |
| 22 namespace cast { | 22 namespace cast { |
| 23 | 23 |
| (...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 189 base::TimeDelta::FromMilliseconds(1 + kDefaultRtpMaxDelayMs); | 189 base::TimeDelta::FromMilliseconds(1 + kDefaultRtpMaxDelayMs); |
| 190 | 190 |
| 191 // Make sure that we do a re-send. | 191 // Make sure that we do a re-send. |
| 192 testing_clock_.Advance(max_resend_timeout); | 192 testing_clock_.Advance(max_resend_timeout); |
| 193 task_runner_->RunTasks(); | 193 task_runner_->RunTasks(); |
| 194 } | 194 } |
| 195 | 195 |
| 196 } // namespace cast | 196 } // namespace cast |
| 197 } // namespace media | 197 } // namespace media |
| 198 | 198 |
| OLD | NEW |