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

Side by Side Diff: webrtc/libjingle/xmpp/mucroomconfigtask.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/jingleinfotask.cc ('k') | webrtc/libjingle/xmpp/mucroomlookuptask.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 <string> 11 #include <string>
12 #include <vector> 12 #include <vector>
13 13
14 #include "webrtc/libjingle/xmpp/mucroomconfigtask.h" 14 #include "webrtc/libjingle/xmpp/mucroomconfigtask.h"
15 15
16 #include "webrtc/libjingle/xmpp/constants.h" 16 #include "webrtc/libjingle/xmpp/constants.h"
17 #include "webrtc/base/scoped_ptr.h"
18 17
19 namespace buzz { 18 namespace buzz {
20 19
21 MucRoomConfigTask::MucRoomConfigTask( 20 MucRoomConfigTask::MucRoomConfigTask(
22 XmppTaskParentInterface* parent, 21 XmppTaskParentInterface* parent,
23 const Jid& room_jid, 22 const Jid& room_jid,
24 const std::string& room_name, 23 const std::string& room_name,
25 const std::vector<std::string>& room_features) 24 const std::vector<std::string>& room_features)
26 : IqTask(parent, STR_SET, room_jid, 25 : IqTask(parent, STR_SET, room_jid,
27 MakeRequest(room_name, room_features)), 26 MakeRequest(room_name, room_features)),
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 x_form->AddElement(features_field); 64 x_form->AddElement(features_field);
66 owner_query->AddElement(x_form); 65 owner_query->AddElement(x_form);
67 return owner_query; 66 return owner_query;
68 } 67 }
69 68
70 void MucRoomConfigTask::HandleResult(const XmlElement* element) { 69 void MucRoomConfigTask::HandleResult(const XmlElement* element) {
71 SignalResult(this); 70 SignalResult(this);
72 } 71 }
73 72
74 } // namespace buzz 73 } // namespace buzz
OLDNEW
« no previous file with comments | « webrtc/libjingle/xmpp/jingleinfotask.cc ('k') | webrtc/libjingle/xmpp/mucroomlookuptask.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698