| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_DATAGRAM_CHANNEL_FACTORY_H_ | 5 #ifndef REMOTING_PROTOCOL_DATAGRAM_CHANNEL_FACTORY_H_ |
| 6 #define REMOTING_PROTOCOL_DATAGRAM_CHANNEL_FACTORY_H_ | 6 #define REMOTING_PROTOCOL_DATAGRAM_CHANNEL_FACTORY_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/callback_forward.h" | 10 #include "base/callback_forward.h" |
| 11 #include "base/macros.h" |
| 11 #include "base/memory/scoped_ptr.h" | 12 #include "base/memory/scoped_ptr.h" |
| 12 | 13 |
| 13 namespace remoting { | 14 namespace remoting { |
| 14 namespace protocol { | 15 namespace protocol { |
| 15 | 16 |
| 16 class P2PDatagramSocket; | 17 class P2PDatagramSocket; |
| 17 | 18 |
| 18 class DatagramChannelFactory { | 19 class DatagramChannelFactory { |
| 19 public: | 20 public: |
| 20 typedef base::Callback<void(scoped_ptr<P2PDatagramSocket>)> | 21 typedef base::Callback<void(scoped_ptr<P2PDatagramSocket>)> |
| (...skipping 19 matching lines...) Expand all Loading... |
| 40 virtual ~DatagramChannelFactory() {} | 41 virtual ~DatagramChannelFactory() {} |
| 41 | 42 |
| 42 private: | 43 private: |
| 43 DISALLOW_COPY_AND_ASSIGN(DatagramChannelFactory); | 44 DISALLOW_COPY_AND_ASSIGN(DatagramChannelFactory); |
| 44 }; | 45 }; |
| 45 | 46 |
| 46 } // namespace protocol | 47 } // namespace protocol |
| 47 } // namespace remoting | 48 } // namespace remoting |
| 48 | 49 |
| 49 #endif // REMOTING_PROTOCOL_DATAGRAM_CHANNEL_FACTORY_H_ | 50 #endif // REMOTING_PROTOCOL_DATAGRAM_CHANNEL_FACTORY_H_ |
| OLD | NEW |