| 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_TRANSPORT_H_ | 5 #ifndef REMOTING_PROTOCOL_TRANSPORT_H_ |
| 6 #define REMOTING_PROTOCOL_TRANSPORT_H_ | 6 #define REMOTING_PROTOCOL_TRANSPORT_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| 11 #include "base/callback_forward.h" | 11 #include "base/callback_forward.h" |
| 12 #include "base/macros.h" | 12 #include "base/macros.h" |
| 13 #include "base/threading/non_thread_safe.h" | |
| 14 #include "net/base/ip_endpoint.h" | 13 #include "net/base/ip_endpoint.h" |
| 15 #include "remoting/protocol/errors.h" | 14 #include "remoting/protocol/errors.h" |
| 16 | 15 |
| 17 namespace buzz { | 16 namespace buzz { |
| 18 class XmlElement; | 17 class XmlElement; |
| 19 } // namespace buzz | 18 } // namespace buzz |
| 20 | 19 |
| 21 namespace remoting { | 20 namespace remoting { |
| 22 namespace protocol { | 21 namespace protocol { |
| 23 | 22 |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 62 virtual void Start( | 61 virtual void Start( |
| 63 Authenticator* authenticator, | 62 Authenticator* authenticator, |
| 64 SendTransportInfoCallback send_transport_info_callback) = 0; | 63 SendTransportInfoCallback send_transport_info_callback) = 0; |
| 65 virtual bool ProcessTransportInfo(buzz::XmlElement* transport_info) = 0; | 64 virtual bool ProcessTransportInfo(buzz::XmlElement* transport_info) = 0; |
| 66 }; | 65 }; |
| 67 | 66 |
| 68 } // namespace protocol | 67 } // namespace protocol |
| 69 } // namespace remoting | 68 } // namespace remoting |
| 70 | 69 |
| 71 #endif // REMOTING_PROTOCOL_TRANSPORT_H_ | 70 #endif // REMOTING_PROTOCOL_TRANSPORT_H_ |
| OLD | NEW |