| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (c) 2013 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2013 The WebRTC project authors. All Rights Reserved. |
| 3 * | 3 * |
| 4 * Use of this source code is governed by a BSD-style license | 4 * Use of this source code is governed by a BSD-style license |
| 5 * that can be found in the LICENSE file in the root of the source | 5 * that can be found in the LICENSE file in the root of the source |
| 6 * tree. An additional intellectual property rights grant can be found | 6 * tree. An additional intellectual property rights grant can be found |
| 7 * in the file PATENTS. All contributing project authors may | 7 * in the file PATENTS. All contributing project authors may |
| 8 * be found in the AUTHORS file in the root of the source tree. | 8 * be found in the AUTHORS file in the root of the source tree. |
| 9 */ | 9 */ |
| 10 #ifndef WEBRTC_VIDEO_ENGINE_TEST_COMMON_DIRECT_TRANSPORT_H_ | 10 #ifndef WEBRTC_VIDEO_ENGINE_TEST_COMMON_DIRECT_TRANSPORT_H_ |
| (...skipping 10 matching lines...) Expand all Loading... |
| 21 #include "webrtc/test/fake_network_pipe.h" | 21 #include "webrtc/test/fake_network_pipe.h" |
| 22 #include "webrtc/transport.h" | 22 #include "webrtc/transport.h" |
| 23 | 23 |
| 24 namespace webrtc { | 24 namespace webrtc { |
| 25 | 25 |
| 26 class Clock; | 26 class Clock; |
| 27 class PacketReceiver; | 27 class PacketReceiver; |
| 28 | 28 |
| 29 namespace test { | 29 namespace test { |
| 30 | 30 |
| 31 class DirectTransport : public newapi::Transport { | 31 class DirectTransport : public Transport { |
| 32 public: | 32 public: |
| 33 DirectTransport(); | 33 DirectTransport(); |
| 34 explicit DirectTransport(const FakeNetworkPipe::Config& config); | 34 explicit DirectTransport(const FakeNetworkPipe::Config& config); |
| 35 ~DirectTransport(); | 35 ~DirectTransport(); |
| 36 | 36 |
| 37 void SetConfig(const FakeNetworkPipe::Config& config); | 37 void SetConfig(const FakeNetworkPipe::Config& config); |
| 38 | 38 |
| 39 virtual void StopSending(); | 39 virtual void StopSending(); |
| 40 virtual void SetReceiver(PacketReceiver* receiver); | 40 virtual void SetReceiver(PacketReceiver* receiver); |
| 41 | 41 |
| (...skipping 10 matching lines...) Expand all Loading... |
| 52 Clock* const clock_; | 52 Clock* const clock_; |
| 53 | 53 |
| 54 bool shutting_down_; | 54 bool shutting_down_; |
| 55 | 55 |
| 56 FakeNetworkPipe fake_network_; | 56 FakeNetworkPipe fake_network_; |
| 57 }; | 57 }; |
| 58 } // namespace test | 58 } // namespace test |
| 59 } // namespace webrtc | 59 } // namespace webrtc |
| 60 | 60 |
| 61 #endif // WEBRTC_VIDEO_ENGINE_TEST_COMMON_DIRECT_TRANSPORT_H_ | 61 #endif // WEBRTC_VIDEO_ENGINE_TEST_COMMON_DIRECT_TRANSPORT_H_ |
| OLD | NEW |