Chromium Code Reviews| 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..86aa9f00f04f0aa402e0aee5bfab778887043b45 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_details.h" |
| #include "blimp/net/blimp_message_processor.h" |
| namespace net { |
| @@ -53,7 +54,8 @@ class NetworkEventObserver { |
| // This session glues together the feature proxy components and the network |
| // layer. The network components must be interacted with on the IO thread. The |
| // feature proxies must be interacted with on the UI thread. |
| -class BlimpClientSession : public NetworkEventObserver { |
| +class BlimpClientSession : public NetworkEventObserver, |
| + NetworkActivityObserver { |
|
Kevin M
2016/05/10 23:54:24
public NetworkActivityObserver
|
| public: |
| explicit BlimpClientSession(const GURL& assigner_endpoint); |
| @@ -74,6 +76,8 @@ class BlimpClientSession : public NetworkEventObserver { |
| // a connection to the engine. |
| virtual void ConnectWithAssignment(AssignmentSource::Result result, |
| const Assignment& assignment); |
| + void OnPacketReceived(int bytes) override; |
| + void OnPacketSent(int bytes) override; |
| protected: |
| ~BlimpClientSession() override; |
| @@ -91,6 +95,9 @@ class BlimpClientSession : public NetworkEventObserver { |
| void OnDisconnected(int result) override; |
| base::Thread io_thread_; |
| + |
| + std::unique_ptr<BlimpConnectionDetails> blimp_connection_details_; |
| + |
| std::unique_ptr<TabControlFeature> tab_control_feature_; |
| std::unique_ptr<NavigationFeature> navigation_feature_; |
| std::unique_ptr<ImeFeature> ime_feature_; |