| Index: net/quic/quic_protocol.h
|
| diff --git a/net/quic/quic_protocol.h b/net/quic/quic_protocol.h
|
| index 984a4ddd7bd22c1d10f5f1d12de36c8825e19ea1..ff350744187a569135125f0285b5d7615f5f7059 100644
|
| --- a/net/quic/quic_protocol.h
|
| +++ b/net/quic/quic_protocol.h
|
| @@ -708,7 +708,13 @@ struct NET_EXPORT_PRIVATE QuicPingFrame {};
|
| // frame.
|
| struct NET_EXPORT_PRIVATE QuicMtuDiscoveryFrame {};
|
|
|
| -typedef scoped_ptr<char[]> UniqueStreamBuffer;
|
| +// Deleter for stream buffers.
|
| +class NET_EXPORT_PRIVATE StreamBufferDeleter {
|
| + public:
|
| + void operator()(char* buf) const;
|
| +};
|
| +
|
| +using UniqueStreamBuffer = std::unique_ptr<char[], StreamBufferDeleter>;
|
|
|
| // Allocates memory of size |size| for a QUIC stream buffer.
|
| UniqueStreamBuffer NewStreamBuffer(size_t size);
|
|
|