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

Unified Diff: webrtc/libjingle/xmpp/pubsubclient_unittest.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, 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/pubsub_task.cc ('k') | webrtc/libjingle/xmpp/pubsubstateclient.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/libjingle/xmpp/pubsubclient_unittest.cc
diff --git a/webrtc/libjingle/xmpp/pubsubclient_unittest.cc b/webrtc/libjingle/xmpp/pubsubclient_unittest.cc
index 3815ef8a509935dccc425124315c476dda6ccbd1..ab4c853e56548225b8b48d315ea5ecc5806e370f 100644
--- a/webrtc/libjingle/xmpp/pubsubclient_unittest.cc
+++ b/webrtc/libjingle/xmpp/pubsubclient_unittest.cc
@@ -8,6 +8,7 @@
* be found in the AUTHORS file in the root of the source tree.
*/
+#include <memory>
#include <string>
#include "webrtc/libjingle/xmllite/qname.h"
@@ -103,11 +104,11 @@ class PubSubClientTest : public testing::Test {
listener.get(), &TestPubSubItemsListener::OnRetractError);
}
- rtc::scoped_ptr<rtc::FakeTaskRunner> runner;
+ std::unique_ptr<rtc::FakeTaskRunner> runner;
// xmpp_client deleted by deleting runner.
buzz::FakeXmppClient* xmpp_client;
- rtc::scoped_ptr<buzz::PubSubClient> client;
- rtc::scoped_ptr<TestPubSubItemsListener> listener;
+ std::unique_ptr<buzz::PubSubClient> client;
+ std::unique_ptr<TestPubSubItemsListener> listener;
buzz::Jid pubsubjid;
std::string node;
std::string itemid;
« no previous file with comments | « webrtc/libjingle/xmpp/pubsub_task.cc ('k') | webrtc/libjingle/xmpp/pubsubstateclient.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698