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_CONSTANTS_H_ | 11 #ifndef WEBRTC_P2P_BASE_P2PCONSTANTS_H_ |
12 #define WEBRTC_P2P_BASE_CONSTANTS_H_ | 12 #define WEBRTC_P2P_BASE_P2PCONSTANTS_H_ |
13 | 13 |
14 #include <string> | 14 #include <string> |
15 | 15 |
16 namespace cricket { | 16 namespace cricket { |
17 | 17 |
18 // CN_ == "content name". When we initiate a session, we choose the | 18 // CN_ == "content name". When we initiate a session, we choose the |
19 // name, and when we receive a Gingle session, we provide default | 19 // name, and when we receive a Gingle session, we provide default |
20 // names (since Gingle has no content names). But when we receive a | 20 // names (since Gingle has no content names). But when we receive a |
21 // Jingle call, the content name can be anything, so don't rely on | 21 // Jingle call, the content name can be anything, so don't rely on |
22 // these values being the same as the ones received. | 22 // these values being the same as the ones received. |
(...skipping 20 matching lines...) Expand all Loading... |
43 extern const char NS_JINGLE_DRAFT_SCTP[]; | 43 extern const char NS_JINGLE_DRAFT_SCTP[]; |
44 | 44 |
45 // RFC 4145, SDP setup attribute values. | 45 // RFC 4145, SDP setup attribute values. |
46 extern const char CONNECTIONROLE_ACTIVE_STR[]; | 46 extern const char CONNECTIONROLE_ACTIVE_STR[]; |
47 extern const char CONNECTIONROLE_PASSIVE_STR[]; | 47 extern const char CONNECTIONROLE_PASSIVE_STR[]; |
48 extern const char CONNECTIONROLE_ACTPASS_STR[]; | 48 extern const char CONNECTIONROLE_ACTPASS_STR[]; |
49 extern const char CONNECTIONROLE_HOLDCONN_STR[]; | 49 extern const char CONNECTIONROLE_HOLDCONN_STR[]; |
50 | 50 |
51 } // namespace cricket | 51 } // namespace cricket |
52 | 52 |
53 #endif // WEBRTC_P2P_BASE_CONSTANTS_H_ | 53 #endif // WEBRTC_P2P_BASE_P2PCONSTANTS_H_ |
OLD | NEW |