OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2011 The WebRTC Project Authors. All rights reserved. | 2 * Copyright 2011 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 #include "webrtc/libjingle/xmpp/mucroomlookuptask.h" | 11 #include "webrtc/libjingle/xmpp/mucroomlookuptask.h" |
12 | 12 |
13 #include "webrtc/libjingle/xmpp/constants.h" | 13 #include "webrtc/libjingle/xmpp/constants.h" |
14 #include "webrtc/base/logging.h" | 14 #include "webrtc/base/logging.h" |
15 #include "webrtc/base/scoped_ptr.h" | |
16 | 15 |
17 | 16 |
18 namespace buzz { | 17 namespace buzz { |
19 | 18 |
20 MucRoomLookupTask* | 19 MucRoomLookupTask* |
21 MucRoomLookupTask::CreateLookupTaskForRoomName(XmppTaskParentInterface* parent, | 20 MucRoomLookupTask::CreateLookupTaskForRoomName(XmppTaskParentInterface* parent, |
22 const Jid& lookup_server_jid, | 21 const Jid& lookup_server_jid, |
23 const std::string& room_name, | 22 const std::string& room_name, |
24 const std::string& room_domain) { | 23 const std::string& room_domain) { |
25 return new MucRoomLookupTask(parent, lookup_server_jid, | 24 return new MucRoomLookupTask(parent, lookup_server_jid, |
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
150 const XmlElement* hangout_id_elem = | 149 const XmlElement* hangout_id_elem = |
151 item_elem->FirstNamed(QN_SEARCH_HANGOUT_ID); | 150 item_elem->FirstNamed(QN_SEARCH_HANGOUT_ID); |
152 if (hangout_id_elem != NULL) { | 151 if (hangout_id_elem != NULL) { |
153 room.hangout_id = hangout_id_elem->BodyText(); | 152 room.hangout_id = hangout_id_elem->BodyText(); |
154 } | 153 } |
155 | 154 |
156 SignalResult(this, room); | 155 SignalResult(this, room); |
157 } | 156 } |
158 | 157 |
159 } // namespace buzz | 158 } // namespace buzz |
OLD | NEW |