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

Unified Diff: net/quic/core/quic_packet_generator.h

Issue 2589983002: Create a QUIC wrapper around scoped_refptr. (Closed)
Patch Set: rm = nullptr Created 4 years 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 | « net/quic/core/quic_packet_creator.cc ('k') | net/quic/core/quic_packet_generator.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/core/quic_packet_generator.h
diff --git a/net/quic/core/quic_packet_generator.h b/net/quic/core/quic_packet_generator.h
index ff5c319423b7d75328fb896ee5346a10f1424524..d578e481e0ac8a5266e55a4430cc8e3f77e3fd4e 100644
--- a/net/quic/core/quic_packet_generator.h
+++ b/net/quic/core/quic_packet_generator.h
@@ -98,7 +98,7 @@ class QUIC_EXPORT_PRIVATE QuicPacketGenerator {
QuicIOVector iov,
QuicStreamOffset offset,
bool fin,
- scoped_refptr<QuicAckListenerInterface> listener);
+ QuicReferenceCountedPointer<QuicAckListenerInterface> listener);
// Sends as many data only packets as allowed by the send algorithm and the
// available iov.
@@ -108,12 +108,12 @@ class QUIC_EXPORT_PRIVATE QuicPacketGenerator {
const QuicIOVector& iov,
QuicStreamOffset offset,
bool fin,
- scoped_refptr<QuicAckListenerInterface> listener);
+ QuicReferenceCountedPointer<QuicAckListenerInterface> listener);
// Generates an MTU discovery packet of specified size.
void GenerateMtuDiscoveryPacket(
QuicByteCount target_mtu,
- scoped_refptr<QuicAckListenerInterface> listener);
+ QuicReferenceCountedPointer<QuicAckListenerInterface> listener);
// Indicates whether batch mode is currently enabled.
bool InBatchMode();
« no previous file with comments | « net/quic/core/quic_packet_creator.cc ('k') | net/quic/core/quic_packet_generator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698