| OLD | NEW |
| (Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef REMOTING_PROTOCOL_PEPPER_TRANSPORT_FACTORY_H_ |
| 6 #define REMOTING_PROTOCOL_PEPPER_TRANSPORT_FACTORY_H_ |
| 7 |
| 8 #include "remoting/protocol/transport.h" |
| 9 |
| 10 namespace pp { |
| 11 class Instance; |
| 12 } // namespace pp |
| 13 |
| 14 namespace remoting { |
| 15 namespace protocol { |
| 16 |
| 17 class PepperTransportFactory : public TransportFactory { |
| 18 public: |
| 19 PepperTransportFactory(pp::Instance* pp_instance); |
| 20 virtual ~PepperTransportFactory(); |
| 21 |
| 22 virtual scoped_ptr<StreamTransport> CreateStreamTransport() OVERRIDE; |
| 23 virtual scoped_ptr<DatagramTransport> CreateDatagramTransport() OVERRIDE; |
| 24 |
| 25 private: |
| 26 pp::Instance* pp_instance_; |
| 27 |
| 28 DISALLOW_COPY_AND_ASSIGN(PepperTransportFactory); |
| 29 }; |
| 30 |
| 31 } // namespace protocol |
| 32 } // namespace remoting |
| 33 |
| 34 #endif // REMOTING_PROTOCOL_PEPPER_TRANSPORT_FACTORY_H_ |
| OLD | NEW |