| 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_PEPPER_TRANSPORT_SOCKET_ADAPTER_H_ | 5 #ifndef REMOTING_PROTOCOL_PEPPER_TRANSPORT_SOCKET_ADAPTER_H_ |
| 6 #define REMOTING_PROTOCOL_PEPPER_TRANSPORT_SOCKET_ADAPTER_H_ | 6 #define REMOTING_PROTOCOL_PEPPER_TRANSPORT_SOCKET_ADAPTER_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/callback.h" | 10 #include "base/callback.h" |
| 11 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
| 12 #include "base/threading/non_thread_safe.h" | 12 #include "base/threading/non_thread_safe.h" |
| 13 #include "net/base/completion_callback.h" | 13 #include "net/base/completion_callback.h" |
| 14 #include "net/base/net_log.h" | 14 #include "net/base/net_log.h" |
| 15 #include "net/socket/stream_socket.h" | 15 #include "net/socket/stream_socket.h" |
| 16 #include "ppapi/c/pp_stdint.h" | 16 #include "ppapi/c/pp_stdint.h" |
| 17 #include "ppapi/cpp/completion_callback.h" | 17 #include "ppapi/utility/completion_callback_factory.h" |
| 18 | 18 |
| 19 namespace pp { | 19 namespace pp { |
| 20 class Transport_Dev; | 20 class Transport_Dev; |
| 21 } // namespace pp | 21 } // namespace pp |
| 22 | 22 |
| 23 namespace remoting { | 23 namespace remoting { |
| 24 namespace protocol { | 24 namespace protocol { |
| 25 | 25 |
| 26 // This class implements net::StreamSocket interface on top of the the | 26 // This class implements net::StreamSocket interface on top of the the |
| 27 // Pepper P2P Transport API. | 27 // Pepper P2P Transport API. |
| (...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 100 | 100 |
| 101 pp::CompletionCallbackFactory<PepperTransportSocketAdapter> callback_factory_; | 101 pp::CompletionCallbackFactory<PepperTransportSocketAdapter> callback_factory_; |
| 102 | 102 |
| 103 DISALLOW_COPY_AND_ASSIGN(PepperTransportSocketAdapter); | 103 DISALLOW_COPY_AND_ASSIGN(PepperTransportSocketAdapter); |
| 104 }; | 104 }; |
| 105 | 105 |
| 106 } // namespace protocol | 106 } // namespace protocol |
| 107 } // namespace remoting | 107 } // namespace remoting |
| 108 | 108 |
| 109 #endif // REMOTING_PROTOCOL_PEPPER_TRANSPORT_SOCKET_ADAPTER_H_ | 109 #endif // REMOTING_PROTOCOL_PEPPER_TRANSPORT_SOCKET_ADAPTER_H_ |
| OLD | NEW |