| Index: blimp/client/session/blimp_client_session.h
|
| diff --git a/blimp/client/session/blimp_client_session.h b/blimp/client/session/blimp_client_session.h
|
| index 71b4d3d0cf6b953ea465672811788d050b10311a..fc8a42ef8902ba6ce2104f4da2d999232c378d80 100644
|
| --- a/blimp/client/session/blimp_client_session.h
|
| +++ b/blimp/client/session/blimp_client_session.h
|
| @@ -13,6 +13,7 @@
|
| #include "base/threading/thread.h"
|
| #include "blimp/client/session/assignment_source.h"
|
| #include "blimp/common/proto/blimp_message.pb.h"
|
| +#include "blimp/net/blimp_connection_statistics.h"
|
| #include "blimp/net/blimp_message_processor.h"
|
|
|
| namespace net {
|
| @@ -70,6 +71,8 @@ class BlimpClientSession : public NetworkEventObserver {
|
| RenderWidgetFeature* GetRenderWidgetFeature() const;
|
| SettingsFeature* GetSettingsFeature() const;
|
|
|
| + BlimpConnectionStatistics* GetBlimpConnectionStatistics() const;
|
| +
|
| // The AssignmentCallback for when an assignment is ready. This will trigger
|
| // a connection to the engine.
|
| virtual void ConnectWithAssignment(AssignmentSource::Result result,
|
| @@ -101,6 +104,10 @@ class BlimpClientSession : public NetworkEventObserver {
|
| // Connect() to get a valid assignment and later connect to the engine.
|
| std::unique_ptr<AssignmentSource> assignment_source_;
|
|
|
| + // Collects details of network, such as number of commits and bytes
|
| + // transferred over network. Ownership is maintained on the IO thread.
|
| + BlimpConnectionStatistics* blimp_connection_statistics_;
|
| +
|
| // Container struct for network components.
|
| // Must be deleted on the IO thread.
|
| std::unique_ptr<ClientNetworkComponents> net_components_;
|
|
|