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_TEST_DIRECT_TRANSPORT_H_ | 10 #ifndef WEBRTC_TEST_DIRECT_TRANSPORT_H_ |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
63 int GetAverageDelayMs(); | 63 int GetAverageDelayMs(); |
64 | 64 |
65 private: | 65 private: |
66 void SendPackets(); | 66 void SendPackets(); |
67 | 67 |
68 Call* const send_call_; | 68 Call* const send_call_; |
69 Clock* const clock_; | 69 Clock* const clock_; |
70 | 70 |
71 SingleThreadedTaskQueueForTesting* const task_queue_; | 71 SingleThreadedTaskQueueForTesting* const task_queue_; |
72 SingleThreadedTaskQueueForTesting::TaskId next_scheduled_task_ | 72 SingleThreadedTaskQueueForTesting::TaskId next_scheduled_task_ |
73 GUARDED_BY(&sequence_checker_); | 73 RTC_GUARDED_BY(&sequence_checker_); |
74 | 74 |
75 FakeNetworkPipe fake_network_; | 75 FakeNetworkPipe fake_network_; |
76 | 76 |
77 rtc::SequencedTaskChecker sequence_checker_; | 77 rtc::SequencedTaskChecker sequence_checker_; |
78 }; | 78 }; |
79 } // namespace test | 79 } // namespace test |
80 } // namespace webrtc | 80 } // namespace webrtc |
81 | 81 |
82 #endif // WEBRTC_TEST_DIRECT_TRANSPORT_H_ | 82 #endif // WEBRTC_TEST_DIRECT_TRANSPORT_H_ |
OLD | NEW |