Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(661)

Side by Side Diff: webrtc/test/direct_transport.h

Issue 2986363002: Mark ~DirectTransport with "override." (Closed)
Patch Set: Created 3 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 28 matching lines...) Expand all
39 Call* send_call, 39 Call* send_call,
40 std::unique_ptr<Demuxer> demuxer); 40 std::unique_ptr<Demuxer> demuxer);
41 41
42 // This deprecated variant always uses MediaType::VIDEO. 42 // This deprecated variant always uses MediaType::VIDEO.
43 RTC_DEPRECATED explicit DirectTransport(Call* send_call) 43 RTC_DEPRECATED explicit DirectTransport(Call* send_call)
44 : DirectTransport( 44 : DirectTransport(
45 FakeNetworkPipe::Config(), 45 FakeNetworkPipe::Config(),
46 send_call, 46 send_call,
47 std::unique_ptr<Demuxer>(new ForceDemuxer(MediaType::VIDEO))) {} 47 std::unique_ptr<Demuxer>(new ForceDemuxer(MediaType::VIDEO))) {}
48 48
49 ~DirectTransport(); 49 ~DirectTransport() override;
50 50
51 void SetConfig(const FakeNetworkPipe::Config& config); 51 void SetConfig(const FakeNetworkPipe::Config& config);
52 52
53 virtual void StopSending(); 53 virtual void StopSending();
54 // TODO(holmer): Look into moving this to the constructor. 54 // TODO(holmer): Look into moving this to the constructor.
55 virtual void SetReceiver(PacketReceiver* receiver); 55 virtual void SetReceiver(PacketReceiver* receiver);
56 56
57 bool SendRtp(const uint8_t* data, 57 bool SendRtp(const uint8_t* data,
58 size_t length, 58 size_t length,
59 const PacketOptions& options) override; 59 const PacketOptions& options) override;
(...skipping 27 matching lines...) Expand all
87 Clock* const clock_; 87 Clock* const clock_;
88 88
89 bool shutting_down_; 89 bool shutting_down_;
90 90
91 FakeNetworkPipe fake_network_; 91 FakeNetworkPipe fake_network_;
92 }; 92 };
93 } // namespace test 93 } // namespace test
94 } // namespace webrtc 94 } // namespace webrtc
95 95
96 #endif // WEBRTC_TEST_DIRECT_TRANSPORT_H_ 96 #endif // WEBRTC_TEST_DIRECT_TRANSPORT_H_
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698