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

Unified Diff: blimp/net/blimp_message_pump.h

Issue 1962393004: Added a debug info UI for Blimp (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Refactored menu into ToolbarMenu 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/blimp_message_pump.h
diff --git a/blimp/net/blimp_message_pump.h b/blimp/net/blimp_message_pump.h
index 199ca51cd4346ca9f38ebae40b0c6cd6543c31db..2a80a9dac8ba4b3d19a3339fa6d8f963fdd4c127 100644
--- a/blimp/net/blimp_message_pump.h
+++ b/blimp/net/blimp_message_pump.h
@@ -10,7 +10,9 @@
#include "base/macros.h"
#include "base/memory/ref_counted.h"
#include "base/memory/weak_ptr.h"
+#include "blimp/net/blimp_connection_details.h"
#include "blimp/net/blimp_net_export.h"
+#include "blimp/net/packet_reader.h"
#include "net/base/completion_callback.h"
namespace net {
@@ -44,6 +46,11 @@ class BLIMP_NET_EXPORT BlimpMessagePump {
error_observer_ = observer;
}
+ void SetBlimpConnectionDetails(BlimpConnectionDetails* connection_details) {
+ DCHECK(reader_);
+ reader_->set_blimp_connection_details(connection_details);
+ }
+
private:
// Read next packet from |reader_|.
void ReadNextPacket();

Powered by Google App Engine
This is Rietveld 408576698