Chromium Code Reviews| Index: remoting/protocol/pepper_transport_factory.h | 
| diff --git a/remoting/protocol/pepper_transport_factory.h b/remoting/protocol/pepper_transport_factory.h | 
| new file mode 100644 | 
| index 0000000000000000000000000000000000000000..250da8148e4cab2f009a653ea926db25350d9a78 | 
| --- /dev/null | 
| +++ b/remoting/protocol/pepper_transport_factory.h | 
| @@ -0,0 +1,34 @@ | 
| +// 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.
 
 | 
| +// Use of this source code is governed by a BSD-style license that can be | 
| +// found in the LICENSE file. | 
| + | 
| +#ifndef REMOTING_PROTOCOL_PEPPER_TRANSPORT_FACTORY_H_ | 
| +#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.
 
 | 
| + | 
| +#include "remoting/protocol/transport.h" | 
| + | 
| +namespace pp { | 
| +class Instance; | 
| +} // namespace pp | 
| + | 
| +namespace remoting { | 
| +namespace protocol { | 
| + | 
| +class PepperTransportFactory : public TransportFactory { | 
| + public: | 
| + PepperTransportFactory(pp::Instance* pp_instance); | 
| + virtual ~PepperTransportFactory(); | 
| + | 
| + virtual scoped_ptr<StreamTransport> CreateStreamTransport() OVERRIDE; | 
| + virtual scoped_ptr<DatagramTransport> CreateDatagramTransport() OVERRIDE; | 
| + | 
| + private: | 
| + pp::Instance* pp_instance_; | 
| + | 
| + DISALLOW_COPY_AND_ASSIGN(PepperTransportFactory); | 
| +}; | 
| + | 
| +} // namespace protocol | 
| +} // namespace remoting | 
| + | 
| +#endif // REMOTING_PROTOCOL_PEPPER_TRANSPORT_FACTORY_H_ |