| 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/bind.h" | 5 #include "base/bind.h" |
| 6 #include "base/memory/ref_counted.h" | 6 #include "base/memory/ref_counted.h" |
| 7 #include "base/memory/scoped_ptr.h" | 7 #include "base/memory/scoped_ptr.h" |
| 8 #include "base/test/simple_test_tick_clock.h" | 8 #include "base/test/simple_test_tick_clock.h" |
| 9 #include "media/cast/cast_defines.h" | 9 #include "media/cast/cast_defines.h" |
| 10 #include "media/cast/cast_environment.h" | 10 #include "media/cast/cast_environment.h" |
| 11 #include "media/cast/pacing/mock_paced_packet_sender.h" | 11 #include "media/cast/net/pacing/mock_paced_packet_sender.h" |
| 12 #include "media/cast/test/fake_task_runner.h" | 12 #include "media/cast/test/fake_task_runner.h" |
| 13 #include "media/cast/video_receiver/video_receiver.h" | 13 #include "media/cast/video_receiver/video_receiver.h" |
| 14 #include "testing/gmock/include/gmock/gmock.h" | 14 #include "testing/gmock/include/gmock/gmock.h" |
| 15 | 15 |
| 16 static const int kPacketSize = 1500; | 16 static const int kPacketSize = 1500; |
| 17 static const int64 kStartMillisecond = GG_INT64_C(12345678900000); | 17 static const int64 kStartMillisecond = GG_INT64_C(12345678900000); |
| 18 | 18 |
| 19 namespace media { | 19 namespace media { |
| 20 namespace cast { | 20 namespace cast { |
| 21 | 21 |
| (...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 160 task_runner_->RunTasks(); | 160 task_runner_->RunTasks(); |
| 161 EXPECT_EQ(video_receiver_callback_->number_times_called(), 0); | 161 EXPECT_EQ(video_receiver_callback_->number_times_called(), 0); |
| 162 } | 162 } |
| 163 | 163 |
| 164 // TODO(pwestin): add encoded frames. | 164 // TODO(pwestin): add encoded frames. |
| 165 | 165 |
| 166 } // namespace cast | 166 } // namespace cast |
| 167 } // namespace media | 167 } // namespace media |
| 168 | 168 |
| 169 | 169 |
| OLD | NEW |