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

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: 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/blimp_message_pump.h
diff --git a/blimp/net/blimp_message_pump.h b/blimp/net/blimp_message_pump.h
index 199ca51cd4346ca9f38ebae40b0c6cd6543c31db..fd60c4c197f32d4bec22fbf9d04ec4b558c3568b 100644
--- a/blimp/net/blimp_message_pump.h
+++ b/blimp/net/blimp_message_pump.h
@@ -5,12 +5,14 @@
#ifndef BLIMP_NET_BLIMP_MESSAGE_PUMP_H_
#define BLIMP_NET_BLIMP_MESSAGE_PUMP_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 Now that I think about it, I suspect angle bracket
#include <memory>
#include "base/macros.h"
#include "base/memory/ref_counted.h"
#include "base/memory/weak_ptr.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,12 @@ class BLIMP_NET_EXPORT BlimpMessagePump {
error_observer_ = observer;
}
+ void SetBlimpConnectionStatistics(
Kevin M 2016/05/20 01:02:04 IIRC we can only inline simple setters and getters
shaktisahu 2016/05/22 22:36:57 Done.
+ BlimpConnectionStatistics* connection_statistics) {
+ DCHECK(reader_);
+ reader_->set_blimp_connection_statistics(connection_statistics);
+ }
+
private:
// Read next packet from |reader_|.
void ReadNextPacket();

Powered by Google App Engine
This is Rietveld 408576698