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

Unified Diff: webrtc/libjingle/xmpp/hangoutpubsubclient_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/hangoutpubsubclient.h ('k') | webrtc/libjingle/xmpp/iqtask.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/libjingle/xmpp/hangoutpubsubclient_unittest.cc
diff --git a/webrtc/libjingle/xmpp/hangoutpubsubclient_unittest.cc b/webrtc/libjingle/xmpp/hangoutpubsubclient_unittest.cc
index 7c6ea58f2d2fab5ef696cbde70649cc7cb0ed7bb..dd706b6a9a85a190c18b6cee4bbd6bc5033c8373 100644
--- a/webrtc/libjingle/xmpp/hangoutpubsubclient_unittest.cc
+++ b/webrtc/libjingle/xmpp/hangoutpubsubclient_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"
@@ -228,11 +229,11 @@ class HangoutPubSubClientTest : public testing::Test {
listener.get(), &TestHangoutPubSubListener::OnMediaBlockError);
}
- 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::HangoutPubSubClient> client;
- rtc::scoped_ptr<TestHangoutPubSubListener> listener;
+ std::unique_ptr<buzz::HangoutPubSubClient> client;
+ std::unique_ptr<TestHangoutPubSubListener> listener;
buzz::Jid pubsubjid;
std::string nick;
};
« no previous file with comments | « webrtc/libjingle/xmpp/hangoutpubsubclient.h ('k') | webrtc/libjingle/xmpp/iqtask.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698