| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef WEBKIT_GLUE_PLUGINS_PEPPER_PLUGIN_MODULE_H_ | 5 #ifndef WEBKIT_GLUE_PLUGINS_PEPPER_PLUGIN_MODULE_H_ |
| 6 #define WEBKIT_GLUE_PLUGINS_PEPPER_PLUGIN_MODULE_H_ | 6 #define WEBKIT_GLUE_PLUGINS_PEPPER_PLUGIN_MODULE_H_ |
| 7 | 7 |
| 8 #include <set> | 8 #include <set> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| 11 #include "base/file_path.h" | 11 #include "base/file_path.h" |
| 12 #include "base/native_library.h" | 12 #include "base/native_library.h" |
| 13 #include "base/ref_counted.h" | 13 #include "base/ref_counted.h" |
| 14 | 14 #include "third_party/ppapi/c/pp_module.h" |
| 15 typedef struct _pp_Module PP_Module; | |
| 16 | 15 |
| 17 namespace pepper { | 16 namespace pepper { |
| 18 | 17 |
| 19 class PluginDelegate; | 18 class PluginDelegate; |
| 20 class PluginInstance; | 19 class PluginInstance; |
| 21 | 20 |
| 22 class PluginModule : public base::RefCounted<PluginModule> { | 21 class PluginModule : public base::RefCounted<PluginModule> { |
| 23 public: | 22 public: |
| 24 ~PluginModule(); | 23 ~PluginModule(); |
| 25 | 24 |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 65 // there are no more instances, this object should be deleted. | 64 // there are no more instances, this object should be deleted. |
| 66 typedef std::set<PluginInstance*> PluginInstanceSet; | 65 typedef std::set<PluginInstance*> PluginInstanceSet; |
| 67 PluginInstanceSet instances_; | 66 PluginInstanceSet instances_; |
| 68 | 67 |
| 69 DISALLOW_COPY_AND_ASSIGN(PluginModule); | 68 DISALLOW_COPY_AND_ASSIGN(PluginModule); |
| 70 }; | 69 }; |
| 71 | 70 |
| 72 } // namespace pepper | 71 } // namespace pepper |
| 73 | 72 |
| 74 #endif // WEBKIT_GLUE_PLUGINS_PEPPER_PLUGIN_MODULE_H_ | 73 #endif // WEBKIT_GLUE_PLUGINS_PEPPER_PLUGIN_MODULE_H_ |
| OLD | NEW |