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

Side by Side Diff: webrtc/libjingle/xmpp/mucroomlookuptask.cc

Issue 1935893002: Replace scoped_ptr with unique_ptr in webrtc/libjingle/ (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 years, 7 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/mucroomconfigtask.cc ('k') | webrtc/libjingle/xmpp/pingtask.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
OLDNEW
« no previous file with comments | « webrtc/libjingle/xmpp/mucroomconfigtask.cc ('k') | webrtc/libjingle/xmpp/pingtask.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698