| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2004 The WebRTC Project Authors. All rights reserved. | 2 * Copyright 2004 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_P2P_BASE_SESSIONDESCRIPTION_H_ | 11 #ifndef WEBRTC_P2P_BASE_SESSIONDESCRIPTION_H_ |
| 12 #define WEBRTC_P2P_BASE_SESSIONDESCRIPTION_H_ | 12 #define WEBRTC_P2P_BASE_SESSIONDESCRIPTION_H_ |
| 13 | 13 |
| 14 #include <string> | 14 #include <string> |
| 15 #include <vector> | 15 #include <vector> |
| 16 | 16 |
| 17 #include "webrtc/base/constructormagic.h" | |
| 18 #include "webrtc/p2p/base/transportinfo.h" | 17 #include "webrtc/p2p/base/transportinfo.h" |
| 18 #include "webrtc/rtc_base/constructormagic.h" |
| 19 | 19 |
| 20 namespace cricket { | 20 namespace cricket { |
| 21 | 21 |
| 22 // Describes a session content. Individual content types inherit from | 22 // Describes a session content. Individual content types inherit from |
| 23 // this class. Analagous to a <jingle><content><description> or | 23 // this class. Analagous to a <jingle><content><description> or |
| 24 // <session><description>. | 24 // <session><description>. |
| 25 class ContentDescription { | 25 class ContentDescription { |
| 26 public: | 26 public: |
| 27 virtual ~ContentDescription() {} | 27 virtual ~ContentDescription() {} |
| 28 virtual ContentDescription* Copy() const = 0; | 28 virtual ContentDescription* Copy() const = 0; |
| (...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 197 | 197 |
| 198 // Indicates whether a ContentDescription was sent by the local client | 198 // Indicates whether a ContentDescription was sent by the local client |
| 199 // or received from the remote client. | 199 // or received from the remote client. |
| 200 enum ContentSource { | 200 enum ContentSource { |
| 201 CS_LOCAL, CS_REMOTE | 201 CS_LOCAL, CS_REMOTE |
| 202 }; | 202 }; |
| 203 | 203 |
| 204 } // namespace cricket | 204 } // namespace cricket |
| 205 | 205 |
| 206 #endif // WEBRTC_P2P_BASE_SESSIONDESCRIPTION_H_ | 206 #endif // WEBRTC_P2P_BASE_SESSIONDESCRIPTION_H_ |
| OLD | NEW |