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_LIBJINGLE_XMPP_LOGINTASK_H_ | 11 #ifndef WEBRTC_LIBJINGLE_XMPP_LOGINTASK_H_ |
12 #define WEBRTC_LIBJINGLE_XMPP_LOGINTASK_H_ | 12 #define WEBRTC_LIBJINGLE_XMPP_LOGINTASK_H_ |
13 | 13 |
14 #include <memory> | 14 #include <memory> |
15 #include <string> | 15 #include <string> |
16 #include <vector> | 16 #include <vector> |
17 | 17 |
18 #include "webrtc/libjingle/xmpp/jid.h" | 18 #include "webrtc/libjingle/xmpp/jid.h" |
19 #include "webrtc/libjingle/xmpp/xmppengine.h" | 19 #include "webrtc/libjingle/xmpp/xmppengine.h" |
20 #include "webrtc/base/logging.h" | 20 #include "webrtc/base/logging.h" |
21 #include "webrtc/base/scoped_ptr.h" | |
22 | 21 |
23 namespace buzz { | 22 namespace buzz { |
24 | 23 |
25 class XmlElement; | 24 class XmlElement; |
26 class XmppEngineImpl; | 25 class XmppEngineImpl; |
27 class SaslMechanism; | 26 class SaslMechanism; |
28 | 27 |
29 | 28 |
30 // TODO: Rename to LoginTask. | 29 // TODO: Rename to LoginTask. |
31 class XmppLoginTask { | 30 class XmppLoginTask { |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
79 std::unique_ptr<SaslMechanism> sasl_mech_; | 78 std::unique_ptr<SaslMechanism> sasl_mech_; |
80 | 79 |
81 #if !defined(NDEBUG) | 80 #if !defined(NDEBUG) |
82 static const rtc::ConstantLabel LOGINTASK_STATES[]; | 81 static const rtc::ConstantLabel LOGINTASK_STATES[]; |
83 #endif | 82 #endif |
84 }; | 83 }; |
85 | 84 |
86 } | 85 } |
87 | 86 |
88 #endif // WEBRTC_LIBJINGLE_XMPP_LOGINTASK_H_ | 87 #endif // WEBRTC_LIBJINGLE_XMPP_LOGINTASK_H_ |
OLD | NEW |