| 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 CONTENT_RENDERER_P2P_IPC_SOCKET_FACTORY_H_ | 5 #ifndef CONTENT_RENDERER_P2P_IPC_SOCKET_FACTORY_H_ |
| 6 #define CONTENT_RENDERER_P2P_IPC_SOCKET_FACTORY_H_ | 6 #define CONTENT_RENDERER_P2P_IPC_SOCKET_FACTORY_H_ |
| 7 | 7 |
| 8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
| 9 #include "base/compiler_specific.h" |
| 9 #include "content/common/content_export.h" | 10 #include "content/common/content_export.h" |
| 10 #include "third_party/libjingle/source/talk/base/packetsocketfactory.h" | 11 #include "third_party/libjingle/source/talk/base/packetsocketfactory.h" |
| 11 | 12 |
| 12 namespace content { | 13 namespace content { |
| 13 | 14 |
| 14 class P2PSocketDispatcher; | 15 class P2PSocketDispatcher; |
| 15 | 16 |
| 16 // IpcPacketSocketFactory implements talk_base::PacketSocketFactory | 17 // IpcPacketSocketFactory implements talk_base::PacketSocketFactory |
| 17 // interface for libjingle using IPC-based P2P sockets. The class must | 18 // interface for libjingle using IPC-based P2P sockets. The class must |
| 18 // be used on a thread that is a libjingle thread (implements | 19 // be used on a thread that is a libjingle thread (implements |
| (...skipping 23 matching lines...) Expand all Loading... |
| 42 | 43 |
| 43 private: | 44 private: |
| 44 P2PSocketDispatcher* socket_dispatcher_; | 45 P2PSocketDispatcher* socket_dispatcher_; |
| 45 | 46 |
| 46 DISALLOW_COPY_AND_ASSIGN(IpcPacketSocketFactory); | 47 DISALLOW_COPY_AND_ASSIGN(IpcPacketSocketFactory); |
| 47 }; | 48 }; |
| 48 | 49 |
| 49 } // namespace content | 50 } // namespace content |
| 50 | 51 |
| 51 #endif // CONTENT_RENDERER_P2P_IPC_SOCKET_FACTORY_H_ | 52 #endif // CONTENT_RENDERER_P2P_IPC_SOCKET_FACTORY_H_ |
| OLD | NEW |