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

Unified Diff: webrtc/libjingle/xmpp/mucroomuniquehangoutidtask.h

Issue 2618633003: Revert of 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 side-by-side diff with in-line comments
Download patch
Index: webrtc/libjingle/xmpp/mucroomuniquehangoutidtask.h
diff --git a/webrtc/libjingle/xmpp/mucroomuniquehangoutidtask.h b/webrtc/libjingle/xmpp/mucroomuniquehangoutidtask.h
new file mode 100644
index 0000000000000000000000000000000000000000..ac662503f107ca657d04749f3aeaeb139b4f3b20
--- /dev/null
+++ b/webrtc/libjingle/xmpp/mucroomuniquehangoutidtask.h
@@ -0,0 +1,38 @@
+/*
+ * Copyright 2012 The WebRTC Project Authors. All rights reserved.
+ *
+ * Use of this source code is governed by a BSD-style license
+ * that can be found in the LICENSE file in the root of the source
+ * tree. An additional intellectual property rights grant can be found
+ * in the file PATENTS. All contributing project authors may
+ * be found in the AUTHORS file in the root of the source tree.
+ */
+
+#ifndef WEBRTC_LIBJINGLE_XMPP_MUCROOMUNIQUEHANGOUTIDTASK_H_
+#define WEBRTC_LIBJINGLE_XMPP_MUCROOMUNIQUEHANGOUTIDTASK_H_
+
+#include "webrtc/libjingle/xmpp/iqtask.h"
+
+namespace buzz {
+
+// Task to request a unique hangout id to be used when starting a hangout.
+// The protocol is described in https://docs.google.com/a/google.com/
+// document/d/1EFLT6rCYPDVdqQXSQliXwqB3iUkpZJ9B_MNFeOZgN7g/edit
+class MucRoomUniqueHangoutIdTask : public buzz::IqTask {
+ public:
+ MucRoomUniqueHangoutIdTask(buzz::XmppTaskParentInterface* parent,
+ const Jid& lookup_server_jid);
+ // signal(task, hangout_id)
+ sigslot::signal2<MucRoomUniqueHangoutIdTask*, const std::string&> SignalResult;
+
+ protected:
+ virtual void HandleResult(const buzz::XmlElement* stanza);
+
+ private:
+ static buzz::XmlElement* MakeUniqueRequestXml();
+
+};
+
+} // namespace buzz
+
+#endif // WEBRTC_LIBJINGLE_XMPP_MUCROOMUNIQUEHANGOUTIDTASK_H_
« no previous file with comments | « webrtc/libjingle/xmpp/mucroomlookuptask_unittest.cc ('k') | webrtc/libjingle/xmpp/mucroomuniquehangoutidtask.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698