OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef REMOTING_PROTOCOL_CONNECTION_TO_HOST_H_ | 5 #ifndef REMOTING_PROTOCOL_CONNECTION_TO_HOST_H_ |
6 #define REMOTING_PROTOCOL_CONNECTION_TO_HOST_H_ | 6 #define REMOTING_PROTOCOL_CONNECTION_TO_HOST_H_ |
7 | 7 |
8 #include <set> | 8 #include <set> |
9 #include <string> | 9 #include <string> |
10 | 10 |
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
93 virtual const SessionConfig& config(); | 93 virtual const SessionConfig& config(); |
94 | 94 |
95 // Stubs for sending data to the host. | 95 // Stubs for sending data to the host. |
96 virtual ClipboardStub* clipboard_stub(); | 96 virtual ClipboardStub* clipboard_stub(); |
97 virtual HostStub* host_stub(); | 97 virtual HostStub* host_stub(); |
98 virtual InputStub* input_stub(); | 98 virtual InputStub* input_stub(); |
99 | 99 |
100 // SignalStrategy::StatusObserver interface. | 100 // SignalStrategy::StatusObserver interface. |
101 virtual void OnSignalStrategyStateChange( | 101 virtual void OnSignalStrategyStateChange( |
102 SignalStrategy::State state) OVERRIDE; | 102 SignalStrategy::State state) OVERRIDE; |
| 103 virtual bool OnSignalStrategyIncomingStanza( |
| 104 const buzz::XmlElement* stanza) OVERRIDE; |
103 | 105 |
104 // SessionManager::Listener interface. | 106 // SessionManager::Listener interface. |
105 virtual void OnSessionManagerReady() OVERRIDE; | 107 virtual void OnSessionManagerReady() OVERRIDE; |
106 virtual void OnIncomingSession( | 108 virtual void OnIncomingSession( |
107 Session* session, | 109 Session* session, |
108 SessionManager::IncomingSessionResponse* response) OVERRIDE; | 110 SessionManager::IncomingSessionResponse* response) OVERRIDE; |
109 | 111 |
110 // Session::EventHandler interface. | 112 // Session::EventHandler interface. |
111 virtual void OnSessionStateChange(Session::State state) OVERRIDE; | 113 virtual void OnSessionStateChange(Session::State state) OVERRIDE; |
112 virtual void OnSessionRouteChange(const std::string& channel_name, | 114 virtual void OnSessionRouteChange(const std::string& channel_name, |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
163 std::set<std::string> not_ready_channels_; | 165 std::set<std::string> not_ready_channels_; |
164 | 166 |
165 private: | 167 private: |
166 DISALLOW_COPY_AND_ASSIGN(ConnectionToHost); | 168 DISALLOW_COPY_AND_ASSIGN(ConnectionToHost); |
167 }; | 169 }; |
168 | 170 |
169 } // namespace protocol | 171 } // namespace protocol |
170 } // namespace remoting | 172 } // namespace remoting |
171 | 173 |
172 #endif // REMOTING_PROTOCOL_CONNECTION_TO_HOST_H_ | 174 #endif // REMOTING_PROTOCOL_CONNECTION_TO_HOST_H_ |
OLD | NEW |