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

Side by Side Diff: webrtc/api/ortc/mediadescription.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/optional_unittest.cc ('k') | webrtc/api/ortc/rtptransportinterface.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_MEDIADESCRIPTION_H_ 11 #ifndef WEBRTC_API_ORTC_MEDIADESCRIPTION_H_
12 #define WEBRTC_API_ORTC_MEDIADESCRIPTION_H_ 12 #define WEBRTC_API_ORTC_MEDIADESCRIPTION_H_
13 13
14 #include <string> 14 #include <string>
15 #include <utility> 15 #include <utility>
16 #include <vector> 16 #include <vector>
17 17
18 #include "webrtc/api/optional.h"
18 #include "webrtc/media/base/cryptoparams.h" 19 #include "webrtc/media/base/cryptoparams.h"
19 #include "webrtc/rtc_base/optional.h"
20 20
21 namespace webrtc { 21 namespace webrtc {
22 22
23 // A structured representation of a media description within an SDP session 23 // A structured representation of a media description within an SDP session
24 // description. 24 // description.
25 class MediaDescription { 25 class MediaDescription {
26 public: 26 public:
27 explicit MediaDescription(std::string mid) : mid_(std::move(mid)) {} 27 explicit MediaDescription(std::string mid) : mid_(std::move(mid)) {}
28 28
29 ~MediaDescription() {} 29 ~MediaDescription() {}
(...skipping 14 matching lines...) Expand all
44 44
45 private: 45 private:
46 rtc::Optional<std::string> mid_; 46 rtc::Optional<std::string> mid_;
47 47
48 std::vector<cricket::CryptoParams> sdes_params_; 48 std::vector<cricket::CryptoParams> sdes_params_;
49 }; 49 };
50 50
51 } // namespace webrtc 51 } // namespace webrtc
52 52
53 #endif // WEBRTC_API_ORTC_MEDIADESCRIPTION_H_ 53 #endif // WEBRTC_API_ORTC_MEDIADESCRIPTION_H_
OLDNEW
« no previous file with comments | « webrtc/api/optional_unittest.cc ('k') | webrtc/api/ortc/rtptransportinterface.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698