Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(38)

Side by Side Diff: remoting/protocol/pepper_transport_factory.h

Issue 9325036: Add abstract interfaces for the transport layer. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix crash Created 8 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(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_
OLDNEW
« no previous file with comments | « remoting/protocol/pepper_stream_channel.cc ('k') | remoting/protocol/pepper_transport_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698