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

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: Built debug UI 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..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

Powered by Google App Engine
This is Rietveld 408576698