OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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/memory/ref_counted.h" | 10 #include "base/memory/ref_counted.h" |
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
88 const std::string& your_jid, | 88 const std::string& your_jid, |
89 const std::string& host_jid, | 89 const std::string& host_jid, |
90 const std::string& host_public_key, | 90 const std::string& host_public_key, |
91 const std::string& access_code, | 91 const std::string& access_code, |
92 HostEventCallback* event_callback, | 92 HostEventCallback* event_callback, |
93 ClientStub* client_stub, | 93 ClientStub* client_stub, |
94 VideoStub* video_stub); | 94 VideoStub* video_stub); |
95 | 95 |
96 virtual void Disconnect(const base::Closure& shutdown_task); | 96 virtual void Disconnect(const base::Closure& shutdown_task); |
97 | 97 |
98 virtual const SessionConfig* config(); | 98 virtual const SessionConfig& config(); |
99 | 99 |
100 virtual InputStub* input_stub(); | 100 virtual InputStub* input_stub(); |
101 | 101 |
102 virtual HostStub* host_stub(); | 102 virtual HostStub* host_stub(); |
103 | 103 |
104 // SignalStrategy::StatusObserver interface. | 104 // SignalStrategy::StatusObserver interface. |
105 virtual void OnStateChange( | 105 virtual void OnStateChange( |
106 SignalStrategy::StatusObserver::State state) OVERRIDE; | 106 SignalStrategy::StatusObserver::State state) OVERRIDE; |
107 virtual void OnJidChange(const std::string& full_jid) OVERRIDE; | 107 virtual void OnJidChange(const std::string& full_jid) OVERRIDE; |
108 | 108 |
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
180 private: | 180 private: |
181 DISALLOW_COPY_AND_ASSIGN(ConnectionToHost); | 181 DISALLOW_COPY_AND_ASSIGN(ConnectionToHost); |
182 }; | 182 }; |
183 | 183 |
184 } // namespace protocol | 184 } // namespace protocol |
185 } // namespace remoting | 185 } // namespace remoting |
186 | 186 |
187 DISABLE_RUNNABLE_METHOD_REFCOUNT(remoting::protocol::ConnectionToHost); | 187 DISABLE_RUNNABLE_METHOD_REFCOUNT(remoting::protocol::ConnectionToHost); |
188 | 188 |
189 #endif // REMOTING_PROTOCOL_CONNECTION_TO_HOST_H_ | 189 #endif // REMOTING_PROTOCOL_CONNECTION_TO_HOST_H_ |
OLD | NEW |