OLD | NEW |
(Empty) | |
| 1 // Copyright 2010 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef THIRD_PARTY_XMPP_JINGLEINFOTASK_H_ |
| 6 #define THIRD_PARTY_XMPP_JINGLEINFOTASK_H_ |
| 7 |
| 8 #include <vector> |
| 9 |
| 10 #include "third_party/xmpp/xmppengine.h" |
| 11 #include "third_party/xmpp/xmpptask.h" |
| 12 #include "webrtc/base/sigslot.h" |
| 13 #include "webrtc/p2p/client/httpportallocator.h" |
| 14 |
| 15 namespace buzz { |
| 16 |
| 17 class JingleInfoTask : public XmppTask { |
| 18 public: |
| 19 explicit JingleInfoTask(XmppTaskParentInterface* parent) |
| 20 : XmppTask(parent, XmppEngine::HL_TYPE) {} |
| 21 |
| 22 virtual int ProcessStart(); |
| 23 void RefreshJingleInfoNow(); |
| 24 |
| 25 sigslot::signal3<const std::string&, |
| 26 const std::vector<std::string>&, |
| 27 const std::vector<rtc::SocketAddress>&> |
| 28 SignalJingleInfo; |
| 29 |
| 30 protected: |
| 31 class JingleInfoGetTask; |
| 32 friend class JingleInfoGetTask; |
| 33 |
| 34 virtual bool HandleStanza(const XmlElement* stanza); |
| 35 }; |
| 36 } |
| 37 |
| 38 #endif // THIRD_PARTY_XMPP_JINGLEINFOTASK_H_ |
OLD | NEW |