Chromium Code Reviews| Index: blimp/net/packet_reader.h |
| diff --git a/blimp/net/packet_reader.h b/blimp/net/packet_reader.h |
| index 543351ac2204004111d52f7734b137f604f94784..59b20567129d78b32597ad8fd22e235877b7bb52 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_statistics.h> |
|
Kevin M
2016/05/20 01:02:04
angle brackets
shaktisahu
2016/05/22 22:36:57
Done.
|
| #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 set_blimp_connection_statistics(BlimpConnectionStatistics* statistics) { |
|
Kevin M
2016/05/20 01:02:04
set_connection_statistics (use the field name, not
shaktisahu
2016/05/22 22:36:57
Done.
|
| + connection_statistics_ = statistics; |
| + } |
| + |
| + protected: |
| + BlimpConnectionStatistics* connection_statistics_ = nullptr; |
| }; |
| } // namespace blimp |