Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | |
|
Wez
2012/02/07 01:17:37
Wrong year. ;)
Sergey Ulanov
2012/02/07 04:41:12
Done.
| |
| 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_CHANNEL_FACTORY_H_ | |
|
Wez
2012/02/07 01:17:37
Wrong guard #define
Sergey Ulanov
2012/02/07 04:41:12
Done.
| |
| 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 |