| 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 CHROME_RENDERER_P2P_IPC_SOCKET_FACTORY_H_ | 5 #ifndef CONTENT_RENDERER_P2P_IPC_SOCKET_FACTORY_H_ |
| 6 #define CHROME_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 "third_party/libjingle/source/talk/base/packetsocketfactory.h" | 9 #include "third_party/libjingle/source/talk/base/packetsocketfactory.h" |
| 10 | 10 |
| 11 class P2PSocketDispatcher; | 11 class P2PSocketDispatcher; |
| 12 | 12 |
| 13 // IpcPacketSocketFactory implements talk_base::PacketSocketFactory | 13 // IpcPacketSocketFactory implements talk_base::PacketSocketFactory |
| 14 // interface for libjingle using IPC-based P2P sockets. The class must | 14 // interface for libjingle using IPC-based P2P sockets. The class must |
| 15 // be used on a thread that is a libjingle thread (implements | 15 // be used on a thread that is a libjingle thread (implements |
| 16 // talk_base::Thread) and also has associated base::MessageLoop. Each | 16 // talk_base::Thread) and also has associated base::MessageLoop. Each |
| (...skipping 16 matching lines...) Expand all Loading... |
| 33 const talk_base::ProxyInfo& proxy_info, | 33 const talk_base::ProxyInfo& proxy_info, |
| 34 const std::string& user_agent, | 34 const std::string& user_agent, |
| 35 bool ssl); | 35 bool ssl); |
| 36 | 36 |
| 37 private: | 37 private: |
| 38 P2PSocketDispatcher* socket_dispatcher_; | 38 P2PSocketDispatcher* socket_dispatcher_; |
| 39 | 39 |
| 40 DISALLOW_COPY_AND_ASSIGN(IpcPacketSocketFactory); | 40 DISALLOW_COPY_AND_ASSIGN(IpcPacketSocketFactory); |
| 41 }; | 41 }; |
| 42 | 42 |
| 43 #endif // CHROME_RENDERER_P2P_IPC_SOCKET_FACTORY_H_ | 43 #endif // CONTENT_RENDERER_P2P_IPC_SOCKET_FACTORY_H_ |
| OLD | NEW |