| Index: blimp/net/packet_reader.h
|
| diff --git a/blimp/net/packet_reader.h b/blimp/net/packet_reader.h
|
| index 543351ac2204004111d52f7734b137f604f94784..16c67d1fdce2702a7aeb5d809607abbfdc41514a 100644
|
| --- a/blimp/net/packet_reader.h
|
| +++ b/blimp/net/packet_reader.h
|
| @@ -5,6 +5,7 @@
|
| #ifndef BLIMP_NET_PACKET_READER_H_
|
| #define BLIMP_NET_PACKET_READER_H_
|
|
|
| +#include "blimp/net/blimp_connection_details.h"
|
| #include "blimp/net/blimp_net_export.h"
|
| #include "net/base/completion_callback.h"
|
| #include "net/base/io_buffer.h"
|
| @@ -25,6 +26,13 @@ class BLIMP_NET_EXPORT PacketReader {
|
| // |callback| will not be invoked if |this| is deleted.
|
| virtual void ReadPacket(const scoped_refptr<net::GrowableIOBuffer>& buf,
|
| const net::CompletionCallback& cb) = 0;
|
| +
|
| + void SetBlimpConnectionDetails(BlimpConnectionDetails* details) {
|
| + connection_details_ = details;
|
| + }
|
| +
|
| + protected:
|
| + BlimpConnectionDetails* connection_details_ = nullptr;
|
| };
|
|
|
| } // namespace blimp
|
|
|