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

Unified Diff: webrtc/p2p/quic/quicconnectionhelper_unittest.cc

Issue 1834233002: Update QuicTransportChannel to latest version of libquic (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 years, 9 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/p2p/quic/quicconnectionhelper.cc ('k') | webrtc/p2p/quic/quicsession.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/p2p/quic/quicconnectionhelper_unittest.cc
diff --git a/webrtc/p2p/quic/quicconnectionhelper_unittest.cc b/webrtc/p2p/quic/quicconnectionhelper_unittest.cc
index 3d2dee5b2fb784dffe460da37211c4e31a01e285..1a7313c245705651bf3dbcf1244089f236811db8 100644
--- a/webrtc/p2p/quic/quicconnectionhelper_unittest.cc
+++ b/webrtc/p2p/quic/quicconnectionhelper_unittest.cc
@@ -12,6 +12,7 @@
#include "net/quic/quic_time.h"
#include "webrtc/base/gunit.h"
+#include "webrtc/base/scoped_ptr.h"
using cricket::QuicAlarm;
using cricket::QuicConnectionHelper;
@@ -67,7 +68,10 @@ class QuicAlarmTest : public ::testing::Test {
public:
QuicAlarmTest()
: delegate_(new MockAlarmDelegate()),
- alarm_(new QuicAlarm(&clock_, rtc::Thread::Current(), delegate_)) {}
+ alarm_(new QuicAlarm(
+ &clock_,
+ rtc::Thread::Current(),
+ net::QuicArenaScopedPtr<net::QuicAlarm::Delegate>(delegate_))) {}
// Make the alarm fire after the given microseconds (us). Negative values
// imply the alarm should fire immediately.
@@ -85,7 +89,7 @@ class QuicAlarmTest : public ::testing::Test {
// Used for setting clock time relative to alarm.
MockClock clock_;
- scoped_ptr<QuicAlarm> alarm_;
+ rtc::scoped_ptr<QuicAlarm> alarm_;
};
// Test that the alarm is fired.
« no previous file with comments | « webrtc/p2p/quic/quicconnectionhelper.cc ('k') | webrtc/p2p/quic/quicsession.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698