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

Unified Diff: blimp/net/packet_reader.h

Issue 1962393004: Added a debug info UI for Blimp (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed Kevin's comments Created 4 years, 7 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
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

Powered by Google App Engine
This is Rietveld 408576698