| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_CLIENT_PLUGIN_PEPPER_PACKET_SOCKET_FACTORY_H_ | 5 #ifndef REMOTING_CLIENT_PLUGIN_PEPPER_PACKET_SOCKET_FACTORY_H_ |
| 6 #define REMOTING_CLIENT_PLUGIN_PEPPER_PACKET_SOCKET_FACTORY_H_ | 6 #define REMOTING_CLIENT_PLUGIN_PEPPER_PACKET_SOCKET_FACTORY_H_ |
| 7 | 7 |
| 8 #include "base/compiler_specific.h" |
| 8 #include "ppapi/cpp/instance_handle.h" | 9 #include "ppapi/cpp/instance_handle.h" |
| 9 #include "third_party/libjingle/source/talk/base/packetsocketfactory.h" | 10 #include "third_party/libjingle/source/talk/base/packetsocketfactory.h" |
| 10 | 11 |
| 11 namespace remoting { | 12 namespace remoting { |
| 12 | 13 |
| 13 class PepperPacketSocketFactory : public talk_base::PacketSocketFactory { | 14 class PepperPacketSocketFactory : public talk_base::PacketSocketFactory { |
| 14 public: | 15 public: |
| 15 explicit PepperPacketSocketFactory(const pp::InstanceHandle& instance); | 16 explicit PepperPacketSocketFactory(const pp::InstanceHandle& instance); |
| 16 virtual ~PepperPacketSocketFactory(); | 17 virtual ~PepperPacketSocketFactory(); |
| 17 | 18 |
| (...skipping 14 matching lines...) Expand all Loading... |
| 32 | 33 |
| 33 private: | 34 private: |
| 34 const pp::InstanceHandle pp_instance_; | 35 const pp::InstanceHandle pp_instance_; |
| 35 | 36 |
| 36 DISALLOW_COPY_AND_ASSIGN(PepperPacketSocketFactory); | 37 DISALLOW_COPY_AND_ASSIGN(PepperPacketSocketFactory); |
| 37 }; | 38 }; |
| 38 | 39 |
| 39 } // namespace remoting | 40 } // namespace remoting |
| 40 | 41 |
| 41 #endif // REMOTING_CLIENT_PLUGIN_PEPPER_PACKET_SOCKET_FACTORY_H_ | 42 #endif // REMOTING_CLIENT_PLUGIN_PEPPER_PACKET_SOCKET_FACTORY_H_ |
| OLD | NEW |