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_XMPPCLIENT_H_ | 11 #ifndef WEBRTC_LIBJINGLE_XMPP_XMPPCLIENT_H_ |
12 #define WEBRTC_LIBJINGLE_XMPP_XMPPCLIENT_H_ | 12 #define WEBRTC_LIBJINGLE_XMPP_XMPPCLIENT_H_ |
13 | 13 |
14 #include <memory> | 14 #include <memory> |
15 #include <string> | 15 #include <string> |
16 | 16 |
| 17 #include "third_party/libjingle_xmpp/task_runner/task.h" |
17 #include "third_party/libjingle_xmpp/xmpp/asyncsocket.h" | 18 #include "third_party/libjingle_xmpp/xmpp/asyncsocket.h" |
18 #include "third_party/libjingle_xmpp/xmpp/xmppclientsettings.h" | 19 #include "third_party/libjingle_xmpp/xmpp/xmppclientsettings.h" |
19 #include "third_party/libjingle_xmpp/xmpp/xmppengine.h" | 20 #include "third_party/libjingle_xmpp/xmpp/xmppengine.h" |
20 #include "third_party/libjingle_xmpp/xmpp/xmpptask.h" | 21 #include "third_party/libjingle_xmpp/xmpp/xmpptask.h" |
21 #include "third_party/webrtc/base/sigslot.h" | 22 #include "third_party/webrtc/base/sigslot.h" |
22 #include "third_party/webrtc/base/task.h" | |
23 | 23 |
24 namespace buzz { | 24 namespace buzz { |
25 | 25 |
26 class PreXmppAuth; | 26 class PreXmppAuth; |
27 class CaptchaChallenge; | 27 class CaptchaChallenge; |
28 | 28 |
29 // Just some non-colliding number. Could have picked "1". | 29 // Just some non-colliding number. Could have picked "1". |
30 #define XMPP_CLIENT_TASK_CODE 0x366c1e47 | 30 #define XMPP_CLIENT_TASK_CODE 0x366c1e47 |
31 | 31 |
32 ///////////////////////////////////////////////////////////////////// | 32 ///////////////////////////////////////////////////////////////////// |
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
140 friend class Private; | 140 friend class Private; |
141 std::unique_ptr<Private> d_; | 141 std::unique_ptr<Private> d_; |
142 | 142 |
143 bool delivering_signal_; | 143 bool delivering_signal_; |
144 bool valid_; | 144 bool valid_; |
145 }; | 145 }; |
146 | 146 |
147 } | 147 } |
148 | 148 |
149 #endif // WEBRTC_LIBJINGLE_XMPP_XMPPCLIENT_H_ | 149 #endif // WEBRTC_LIBJINGLE_XMPP_XMPPCLIENT_H_ |
OLD | NEW |