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

Unified Diff: remoting/protocol/jingle_connection_to_host.h

Issue 6030007: Chromoting protocol layers to receive and send login messages (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix style Created 10 years 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: remoting/protocol/jingle_connection_to_host.h
diff --git a/remoting/protocol/jingle_connection_to_host.h b/remoting/protocol/jingle_connection_to_host.h
index b8b64b4b10ab218827a57a1fcd7ca21ae3791d84..0953aebafc3499229a7ab63df307ca7a7a0de2d8 100644
--- a/remoting/protocol/jingle_connection_to_host.h
+++ b/remoting/protocol/jingle_connection_to_host.h
@@ -37,6 +37,7 @@ class VideoPacket;
namespace protocol {
+class ClientMessageDispatcher;
class VideoReader;
class VideoStub;
@@ -62,11 +63,11 @@ class JingleConnectionToHost : public ConnectionToHost,
// Callback for chromotocol SessionManager.
void OnNewSession(
- protocol::Session* connection,
- protocol::SessionManager::IncomingSessionResponse* response);
+ Session* connection,
+ SessionManager::IncomingSessionResponse* response);
// Callback for chromotocol Session.
- void OnSessionStateChange(protocol::Session::State state);
+ void OnSessionStateChange(Session::State state);
private:
// The message loop for the jingle thread this object works on.
@@ -90,8 +91,8 @@ class JingleConnectionToHost : public ConnectionToHost,
JingleThread* thread_;
scoped_refptr<JingleClient> jingle_client_;
- scoped_refptr<protocol::SessionManager> session_manager_;
- scoped_refptr<protocol::Session> session_;
+ scoped_refptr<SessionManager> session_manager_;
+ scoped_refptr<Session> session_;
MessageReader control_reader_;
scoped_ptr<VideoReader> video_reader_;
@@ -101,6 +102,8 @@ class JingleConnectionToHost : public ConnectionToHost,
std::string host_jid_;
+ scoped_ptr<ClientMessageDispatcher> dispatcher_;
+
DISALLOW_COPY_AND_ASSIGN(JingleConnectionToHost);
};

Powered by Google App Engine
This is Rietveld 408576698