| 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_JINGLE_DATAGRAM_CONNECTOR_H_ | 5 #ifndef REMOTING_PROTOCOL_JINGLE_DATAGRAM_CONNECTOR_H_ |
| 6 #define REMOTING_PROTOCOL_JINGLE_DATAGRAM_CONNECTOR_H_ | 6 #define REMOTING_PROTOCOL_JINGLE_DATAGRAM_CONNECTOR_H_ |
| 7 | 7 |
| 8 #include <string> |
| 9 |
| 8 #include "net/base/completion_callback.h" | 10 #include "net/base/completion_callback.h" |
| 9 #include "remoting/protocol/jingle_channel_connector.h" | 11 #include "remoting/protocol/jingle_channel_connector.h" |
| 10 #include "remoting/protocol/session.h" | 12 #include "remoting/protocol/session.h" |
| 11 | 13 |
| 12 namespace cricket { | |
| 13 class TransportChannel; | |
| 14 } // namespace cricket | |
| 15 | |
| 16 namespace jingle_glue { | 14 namespace jingle_glue { |
| 17 class TransportChannelSocketAdapter; | 15 class TransportChannelSocketAdapter; |
| 18 } // namespace jingle_glue | 16 } // namespace jingle_glue |
| 19 | 17 |
| 20 namespace remoting { | 18 namespace remoting { |
| 21 namespace protocol { | 19 namespace protocol { |
| 22 | 20 |
| 23 class JingleSession; | 21 class JingleSession; |
| 24 | 22 |
| 25 class JingleDatagramConnector : public JingleChannelConnector { | 23 class JingleDatagramConnector : public JingleChannelConnector { |
| (...skipping 17 matching lines...) Expand all Loading... |
| 43 std::string name_; | 41 std::string name_; |
| 44 Session::DatagramChannelCallback callback_; | 42 Session::DatagramChannelCallback callback_; |
| 45 | 43 |
| 46 DISALLOW_COPY_AND_ASSIGN(JingleDatagramConnector); | 44 DISALLOW_COPY_AND_ASSIGN(JingleDatagramConnector); |
| 47 }; | 45 }; |
| 48 | 46 |
| 49 } // namespace protocol | 47 } // namespace protocol |
| 50 } // namespace remoting | 48 } // namespace remoting |
| 51 | 49 |
| 52 #endif // REMOTING_PROTOCOL_JINGLE_DATAGRAM_CONNECTOR_H_ | 50 #endif // REMOTING_PROTOCOL_JINGLE_DATAGRAM_CONNECTOR_H_ |
| OLD | NEW |