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 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
73 scoped_ptr<Authenticator> authenticator, | 73 scoped_ptr<Authenticator> authenticator, |
74 HostEventCallback* event_callback, | 74 HostEventCallback* event_callback, |
75 ClientStub* client_stub, | 75 ClientStub* client_stub, |
76 ClipboardStub* clipboard_stub, | 76 ClipboardStub* clipboard_stub, |
77 VideoStub* video_stub); | 77 VideoStub* video_stub); |
78 | 78 |
79 virtual void Disconnect(const base::Closure& shutdown_task); | 79 virtual void Disconnect(const base::Closure& shutdown_task); |
80 | 80 |
81 virtual const SessionConfig& config(); | 81 virtual const SessionConfig& config(); |
82 | 82 |
| 83 // Stubs for sending data to the host. |
83 virtual ClipboardStub* clipboard_stub(); | 84 virtual ClipboardStub* clipboard_stub(); |
84 virtual HostStub* host_stub(); | 85 virtual HostStub* host_stub(); |
85 virtual InputStub* input_stub(); | 86 virtual InputStub* input_stub(); |
86 | 87 |
87 // SignalStrategy::StatusObserver interface. | 88 // SignalStrategy::StatusObserver interface. |
88 virtual void OnSignalStrategyStateChange( | 89 virtual void OnSignalStrategyStateChange( |
89 SignalStrategy::State state) OVERRIDE; | 90 SignalStrategy::State state) OVERRIDE; |
90 | 91 |
91 // SessionManager::Listener interface. | 92 // SessionManager::Listener interface. |
92 virtual void OnSessionManagerReady() OVERRIDE; | 93 virtual void OnSessionManagerReady() OVERRIDE; |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
147 ErrorCode error_; | 148 ErrorCode error_; |
148 | 149 |
149 private: | 150 private: |
150 DISALLOW_COPY_AND_ASSIGN(ConnectionToHost); | 151 DISALLOW_COPY_AND_ASSIGN(ConnectionToHost); |
151 }; | 152 }; |
152 | 153 |
153 } // namespace protocol | 154 } // namespace protocol |
154 } // namespace remoting | 155 } // namespace remoting |
155 | 156 |
156 #endif // REMOTING_PROTOCOL_CONNECTION_TO_HOST_H_ | 157 #endif // REMOTING_PROTOCOL_CONNECTION_TO_HOST_H_ |
OLD | NEW |