Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(219)

Side by Side Diff: webrtc/libjingle/xmpp/mucroomconfigtask.h

Issue 2617443003: Remove webrtc/libjingle/{xmllite,xmpp} (Closed)
Patch Set: Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « webrtc/libjingle/xmpp/moduleimpl.cc ('k') | webrtc/libjingle/xmpp/mucroomconfigtask.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 /*
2 * Copyright 2011 The WebRTC Project Authors. All rights reserved.
3 *
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
6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree.
9 */
10
11 #ifndef WEBRTC_LIBJINGLE_XMPP_MUCROOMCONFIGTASK_H_
12 #define WEBRTC_LIBJINGLE_XMPP_MUCROOMCONFIGTASK_H_
13
14 #include <string>
15 #include "webrtc/libjingle/xmpp/iqtask.h"
16
17 namespace buzz {
18
19 // This task configures the muc room for document sharing and other enterprise
20 // specific goodies.
21 class MucRoomConfigTask : public IqTask {
22 public:
23 MucRoomConfigTask(XmppTaskParentInterface* parent,
24 const Jid& room_jid,
25 const std::string& room_name,
26 const std::vector<std::string>& room_features);
27
28 // Room configuration does not return any reasonable error
29 // values. The First config request configures the room, subseqent
30 // ones are just ignored by server and server returns empty
31 // response.
32 sigslot::signal1<MucRoomConfigTask*> SignalResult;
33
34 const Jid& room_jid() const { return room_jid_; }
35
36 protected:
37 virtual void HandleResult(const XmlElement* stanza);
38
39 private:
40 static XmlElement* MakeRequest(const std::string& room_name,
41 const std::vector<std::string>& room_features);
42 Jid room_jid_;
43 };
44
45 } // namespace buzz
46
47 #endif // WEBRTC_LIBJINGLE_XMPP_MUCROOMCONFIGTASK_H_
OLDNEW
« no previous file with comments | « webrtc/libjingle/xmpp/moduleimpl.cc ('k') | webrtc/libjingle/xmpp/mucroomconfigtask.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698