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 #include "webrtc/libjingle/xmpp/constants.h" | 11 #include "webrtc/libjingle/xmpp/constants.h" |
12 | 12 |
13 #include <string> | 13 #include <string> |
14 | 14 |
15 #include "webrtc/libjingle/xmllite/qname.h" | 15 #include "webrtc/libjingle/xmllite/qname.h" |
16 #include "webrtc/libjingle/xmllite/xmlconstants.h" | 16 #include "webrtc/libjingle/xmllite/xmlconstants.h" |
17 #include "webrtc/libjingle/xmllite/xmlelement.h" | 17 #include "webrtc/libjingle/xmllite/xmlelement.h" |
18 #include "webrtc/libjingle/xmpp/jid.h" | 18 #include "webrtc/libjingle/xmpp/jid.h" |
19 #include "webrtc/base/basicdefs.h" | |
20 | 19 |
21 namespace buzz { | 20 namespace buzz { |
22 | 21 |
23 // TODO: Remove static objects of complex types, particularly | 22 // TODO: Remove static objects of complex types, particularly |
24 // Jid and QName. | 23 // Jid and QName. |
25 | 24 |
26 const char NS_CLIENT[] = "jabber:client"; | 25 const char NS_CLIENT[] = "jabber:client"; |
27 const char NS_SERVER[] = "jabber:server"; | 26 const char NS_SERVER[] = "jabber:server"; |
28 const char NS_STREAM[] = "http://etherx.jabber.org/streams"; | 27 const char NS_STREAM[] = "http://etherx.jabber.org/streams"; |
29 const char NS_XSTREAM[] = "urn:ietf:params:xml:ns:xmpp-streams"; | 28 const char NS_XSTREAM[] = "urn:ietf:params:xml:ns:xmpp-streams"; |
(...skipping 575 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
605 { NS_GOOGLE_MUC_MEDIA, "recording" }; | 604 { NS_GOOGLE_MUC_MEDIA, "recording" }; |
606 const StaticQName QN_GOOGLE_MUC_MEDIA_BLOCK = { NS_GOOGLE_MUC_MEDIA, "block" }; | 605 const StaticQName QN_GOOGLE_MUC_MEDIA_BLOCK = { NS_GOOGLE_MUC_MEDIA, "block" }; |
607 const StaticQName QN_STATE_ATTR = { STR_EMPTY, "state" }; | 606 const StaticQName QN_STATE_ATTR = { STR_EMPTY, "state" }; |
608 | 607 |
609 const char AUTH_MECHANISM_GOOGLE_COOKIE[] = "X-GOOGLE-COOKIE"; | 608 const char AUTH_MECHANISM_GOOGLE_COOKIE[] = "X-GOOGLE-COOKIE"; |
610 const char AUTH_MECHANISM_GOOGLE_TOKEN[] = "X-GOOGLE-TOKEN"; | 609 const char AUTH_MECHANISM_GOOGLE_TOKEN[] = "X-GOOGLE-TOKEN"; |
611 const char AUTH_MECHANISM_OAUTH2[] = "X-OAUTH2"; | 610 const char AUTH_MECHANISM_OAUTH2[] = "X-OAUTH2"; |
612 const char AUTH_MECHANISM_PLAIN[] = "PLAIN"; | 611 const char AUTH_MECHANISM_PLAIN[] = "PLAIN"; |
613 | 612 |
614 } // namespace buzz | 613 } // namespace buzz |
OLD | NEW |