| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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/message_loop/message_loop.h" | 5 #include "base/message_loop/message_loop.h" |
| 6 #include "base/test/simple_test_tick_clock.h" | 6 #include "base/test/simple_test_tick_clock.h" |
| 7 #include "base/thread_task_runner_handle.h" | 7 #include "base/threading/thread_task_runner_handle.h" |
| 8 #include "chrome/common/cast_messages.h" | 8 #include "chrome/common/cast_messages.h" |
| 9 #include "chrome/renderer/media/cast_ipc_dispatcher.h" | 9 #include "chrome/renderer/media/cast_ipc_dispatcher.h" |
| 10 #include "ipc/ipc_message_macros.h" | 10 #include "ipc/ipc_message_macros.h" |
| 11 #include "media/cast/logging/logging_defines.h" | 11 #include "media/cast/logging/logging_defines.h" |
| 12 #include "testing/gtest/include/gtest/gtest.h" | 12 #include "testing/gtest/include/gtest/gtest.h" |
| 13 | 13 |
| 14 namespace { | 14 namespace { |
| 15 | 15 |
| 16 class CastIPCDispatcherTest : public testing::Test { | 16 class CastIPCDispatcherTest : public testing::Test { |
| 17 public: | 17 public: |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 53 frame_events.push_back(frame_event); | 53 frame_events.push_back(frame_event); |
| 54 | 54 |
| 55 packet_events.push_back(packet_event); | 55 packet_events.push_back(packet_event); |
| 56 CastMsg_RawEvents raw_events_msg(kChannelId, packet_events, | 56 CastMsg_RawEvents raw_events_msg(kChannelId, packet_events, |
| 57 frame_events); | 57 frame_events); |
| 58 | 58 |
| 59 FakeSend(raw_events_msg); | 59 FakeSend(raw_events_msg); |
| 60 } | 60 } |
| 61 | 61 |
| 62 } // namespace | 62 } // namespace |
| OLD | NEW |