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

Side by Side Diff: webrtc/api/ortc/rtptransportinterface.h

Issue 3011943002: Move optional.h to webrtc/api/ (Closed)
Patch Set: Created 3 years, 3 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 | « webrtc/api/ortc/mediadescription.h ('k') | webrtc/api/rtpparameters.h » ('j') | 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 2017 The WebRTC project authors. All Rights Reserved. 2 * Copyright 2017 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 10
11 #ifndef WEBRTC_API_ORTC_RTPTRANSPORTINTERFACE_H_ 11 #ifndef WEBRTC_API_ORTC_RTPTRANSPORTINTERFACE_H_
12 #define WEBRTC_API_ORTC_RTPTRANSPORTINTERFACE_H_ 12 #define WEBRTC_API_ORTC_RTPTRANSPORTINTERFACE_H_
13 13
14 #include <string> 14 #include <string>
15 15
16 #include "webrtc/api/optional.h"
16 #include "webrtc/api/ortc/packettransportinterface.h" 17 #include "webrtc/api/ortc/packettransportinterface.h"
17 #include "webrtc/api/rtcerror.h" 18 #include "webrtc/api/rtcerror.h"
18 #include "webrtc/common_types.h" 19 #include "webrtc/common_types.h"
19 #include "webrtc/rtc_base/optional.h"
20 20
21 namespace webrtc { 21 namespace webrtc {
22 22
23 class RtpTransportAdapter; 23 class RtpTransportAdapter;
24 24
25 struct RtcpParameters final { 25 struct RtcpParameters final {
26 // The SSRC to be used in the "SSRC of packet sender" field. If not set, one 26 // The SSRC to be used in the "SSRC of packet sender" field. If not set, one
27 // will be chosen by the implementation. 27 // will be chosen by the implementation.
28 // TODO(deadbeef): Not implemented. 28 // TODO(deadbeef): Not implemented.
29 rtc::Optional<uint32_t> ssrc; 29 rtc::Optional<uint32_t> ssrc;
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 friend class OrtcFactory; 114 friend class OrtcFactory;
115 friend class OrtcRtpSenderAdapter; 115 friend class OrtcRtpSenderAdapter;
116 friend class OrtcRtpReceiverAdapter; 116 friend class OrtcRtpReceiverAdapter;
117 friend class RtpTransportControllerAdapter; 117 friend class RtpTransportControllerAdapter;
118 friend class RtpTransportAdapter; 118 friend class RtpTransportAdapter;
119 }; 119 };
120 120
121 } // namespace webrtc 121 } // namespace webrtc
122 122
123 #endif // WEBRTC_API_ORTC_RTPTRANSPORTINTERFACE_H_ 123 #endif // WEBRTC_API_ORTC_RTPTRANSPORTINTERFACE_H_
OLDNEW
« no previous file with comments | « webrtc/api/ortc/mediadescription.h ('k') | webrtc/api/rtpparameters.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698