OLD | NEW |
| (Empty) |
1 // Copyright (c) 2010 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 WEBKIT_GLUE_PLUGINS_PEPPER_TRANSPORT_H_ | |
6 #define WEBKIT_GLUE_PLUGINS_PEPPER_TRANSPORT_H_ | |
7 | |
8 #include "base/scoped_ptr.h" | |
9 #include "ppapi/c/pp_instance.h" | |
10 #include "webkit/glue/plugins/pepper_plugin_delegate.h" | |
11 #include "webkit/glue/plugins/pepper_resource.h" | |
12 | |
13 struct PPB_Transport_Dev; | |
14 | |
15 namespace pepper { | |
16 | |
17 class Transport : public Resource { | |
18 public: | |
19 explicit Transport(PluginModule* module); | |
20 virtual ~Transport(); | |
21 static const PPB_Transport_Dev* GetInterface(); | |
22 virtual Transport* AsTransport(); | |
23 bool Init(const char* name, | |
24 const char* proto); | |
25 private: | |
26 | |
27 DISALLOW_COPY_AND_ASSIGN(Transport); | |
28 }; | |
29 | |
30 } // namespace pepper | |
31 | |
32 #endif // WEBKIT_GLUE_PLUGINS_PEPPER_TRANSPORT_H_ | |
33 | |
OLD | NEW |