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

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

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, 8 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
« no previous file with comments | « webrtc/libjingle/xmpp/pubsubclient_unittest.cc ('k') | webrtc/libjingle/xmpp/pubsubtasks_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/libjingle/xmpp/pubsubstateclient.h
diff --git a/webrtc/libjingle/xmpp/pubsubstateclient.h b/webrtc/libjingle/xmpp/pubsubstateclient.h
index 13bfe1971eaf50d4d701c2a797e92af92c5e724b..e78ddb5aff2fd3b3de02f0764a9872c126c4c15a 100644
--- a/webrtc/libjingle/xmpp/pubsubstateclient.h
+++ b/webrtc/libjingle/xmpp/pubsubstateclient.h
@@ -12,6 +12,7 @@
#define WEBRTC_LIBJINGLE_XMPP_PUBSUBSTATECLIENT_H_
#include <map>
+#include <memory>
#include <string>
#include <vector>
@@ -257,8 +258,8 @@ class PubSubStateClient : public sigslot::has_slots<> {
PubSubClient* client_;
const QName state_name_;
C default_state_;
- rtc::scoped_ptr<PubSubStateKeySerializer> key_serializer_;
- rtc::scoped_ptr<PubSubStateSerializer<C> > state_serializer_;
+ std::unique_ptr<PubSubStateKeySerializer> key_serializer_;
+ std::unique_ptr<PubSubStateSerializer<C> > state_serializer_;
// key => state
std::map<std::string, C> state_by_key_;
// itemid => StateItemInfo
« no previous file with comments | « webrtc/libjingle/xmpp/pubsubclient_unittest.cc ('k') | webrtc/libjingle/xmpp/pubsubtasks_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698