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 <string> | 8 #include <string> |
9 | 9 |
10 #include "base/callback_forward.h" | 10 #include "base/callback_forward.h" |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
76 HostEventCallback* event_callback, | 76 HostEventCallback* event_callback, |
77 ClientStub* client_stub, | 77 ClientStub* client_stub, |
78 ClipboardStub* clipboard_stub, | 78 ClipboardStub* clipboard_stub, |
79 VideoStub* video_stub); | 79 VideoStub* video_stub); |
80 | 80 |
81 virtual void Disconnect(const base::Closure& shutdown_task); | 81 virtual void Disconnect(const base::Closure& shutdown_task); |
82 | 82 |
83 virtual const SessionConfig& config(); | 83 virtual const SessionConfig& config(); |
84 | 84 |
85 virtual ClipboardStub* clipboard_stub(); | 85 virtual ClipboardStub* clipboard_stub(); |
| 86 virtual HostStub* host_stub(); |
86 virtual InputStub* input_stub(); | 87 virtual InputStub* input_stub(); |
87 | 88 |
88 // SignalStrategy::StatusObserver interface. | 89 // SignalStrategy::StatusObserver interface. |
89 virtual void OnSignalStrategyStateChange( | 90 virtual void OnSignalStrategyStateChange( |
90 SignalStrategy::State state) OVERRIDE; | 91 SignalStrategy::State state) OVERRIDE; |
91 | 92 |
92 // SessionManager::Listener interface. | 93 // SessionManager::Listener interface. |
93 virtual void OnSessionManagerReady() OVERRIDE; | 94 virtual void OnSessionManagerReady() OVERRIDE; |
94 virtual void OnIncomingSession( | 95 virtual void OnIncomingSession( |
95 Session* session, | 96 Session* session, |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
150 ErrorCode error_; | 151 ErrorCode error_; |
151 | 152 |
152 private: | 153 private: |
153 DISALLOW_COPY_AND_ASSIGN(ConnectionToHost); | 154 DISALLOW_COPY_AND_ASSIGN(ConnectionToHost); |
154 }; | 155 }; |
155 | 156 |
156 } // namespace protocol | 157 } // namespace protocol |
157 } // namespace remoting | 158 } // namespace remoting |
158 | 159 |
159 #endif // REMOTING_PROTOCOL_CONNECTION_TO_HOST_H_ | 160 #endif // REMOTING_PROTOCOL_CONNECTION_TO_HOST_H_ |
OLD | NEW |