| 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 #include "webkit/glue/plugins/pepper_plugin_module.h" | 5 #include "webkit/glue/plugins/pepper_plugin_module.h" |
| 6 | 6 |
| 7 #include <set> | 7 #include <set> |
| 8 | 8 |
| 9 #include "base/command_line.h" | 9 #include "base/command_line.h" |
| 10 #include "base/message_loop.h" | 10 #include "base/message_loop.h" |
| 11 #include "base/message_loop_proxy.h" | 11 #include "base/message_loop_proxy.h" |
| 12 #include "base/logging.h" | 12 #include "base/logging.h" |
| 13 #include "base/scoped_ptr.h" | 13 #include "base/scoped_ptr.h" |
| 14 #include "base/time.h" | 14 #include "base/time.h" |
| 15 #include "third_party/ppapi/c/dev/ppb_buffer_dev.h" | 15 #include "ppapi/c/dev/ppb_buffer_dev.h" |
| 16 #include "third_party/ppapi/c/dev/ppb_char_set_dev.h" | 16 #include "ppapi/c/dev/ppb_char_set_dev.h" |
| 17 #include "third_party/ppapi/c/dev/ppb_cursor_control_dev.h" | 17 #include "ppapi/c/dev/ppb_cursor_control_dev.h" |
| 18 #include "third_party/ppapi/c/dev/ppb_directory_reader_dev.h" | 18 #include "ppapi/c/dev/ppb_directory_reader_dev.h" |
| 19 #include "third_party/ppapi/c/dev/ppb_file_io_dev.h" | 19 #include "ppapi/c/dev/ppb_file_io_dev.h" |
| 20 #include "third_party/ppapi/c/dev/ppb_file_io_trusted_dev.h" | 20 #include "ppapi/c/dev/ppb_file_io_trusted_dev.h" |
| 21 #include "third_party/ppapi/c/dev/ppb_file_system_dev.h" | 21 #include "ppapi/c/dev/ppb_file_system_dev.h" |
| 22 #include "third_party/ppapi/c/dev/ppb_find_dev.h" | 22 #include "ppapi/c/dev/ppb_find_dev.h" |
| 23 #include "third_party/ppapi/c/dev/ppb_font_dev.h" | 23 #include "ppapi/c/dev/ppb_font_dev.h" |
| 24 #include "third_party/ppapi/c/dev/ppb_fullscreen_dev.h" | 24 #include "ppapi/c/dev/ppb_fullscreen_dev.h" |
| 25 #include "third_party/ppapi/c/dev/ppb_graphics_3d_dev.h" | 25 #include "ppapi/c/dev/ppb_graphics_3d_dev.h" |
| 26 #include "third_party/ppapi/c/dev/ppb_opengles_dev.h" | 26 #include "ppapi/c/dev/ppb_opengles_dev.h" |
| 27 #include "third_party/ppapi/c/dev/ppb_scrollbar_dev.h" | 27 #include "ppapi/c/dev/ppb_scrollbar_dev.h" |
| 28 #include "third_party/ppapi/c/dev/ppb_testing_dev.h" | 28 #include "ppapi/c/dev/ppb_testing_dev.h" |
| 29 #include "third_party/ppapi/c/dev/ppb_transport_dev.h" | 29 #include "ppapi/c/dev/ppb_transport_dev.h" |
| 30 #include "third_party/ppapi/c/dev/ppb_url_loader_dev.h" | 30 #include "ppapi/c/dev/ppb_url_loader_dev.h" |
| 31 #include "third_party/ppapi/c/dev/ppb_url_loader_trusted_dev.h" | 31 #include "ppapi/c/dev/ppb_url_loader_trusted_dev.h" |
| 32 #include "third_party/ppapi/c/dev/ppb_url_request_info_dev.h" | 32 #include "ppapi/c/dev/ppb_url_request_info_dev.h" |
| 33 #include "third_party/ppapi/c/dev/ppb_url_response_info_dev.h" | 33 #include "ppapi/c/dev/ppb_url_response_info_dev.h" |
| 34 #include "third_party/ppapi/c/dev/ppb_url_util_dev.h" | 34 #include "ppapi/c/dev/ppb_url_util_dev.h" |
| 35 #include "third_party/ppapi/c/dev/ppb_var_deprecated.h" | 35 #include "ppapi/c/dev/ppb_var_deprecated.h" |
| 36 #include "third_party/ppapi/c/dev/ppb_video_decoder_dev.h" | 36 #include "ppapi/c/dev/ppb_video_decoder_dev.h" |
| 37 #include "third_party/ppapi/c/dev/ppb_widget_dev.h" | 37 #include "ppapi/c/dev/ppb_widget_dev.h" |
| 38 #include "third_party/ppapi/c/dev/ppb_zoom_dev.h" | 38 #include "ppapi/c/dev/ppb_zoom_dev.h" |
| 39 #include "third_party/ppapi/c/trusted/ppb_image_data_trusted.h" | 39 #include "ppapi/c/trusted/ppb_image_data_trusted.h" |
| 40 #include "third_party/ppapi/c/pp_module.h" | 40 #include "ppapi/c/pp_module.h" |
| 41 #include "third_party/ppapi/c/pp_resource.h" | 41 #include "ppapi/c/pp_resource.h" |
| 42 #include "third_party/ppapi/c/pp_var.h" | 42 #include "ppapi/c/pp_var.h" |
| 43 #include "third_party/ppapi/c/ppb_core.h" | 43 #include "ppapi/c/ppb_core.h" |
| 44 #include "third_party/ppapi/c/ppb_graphics_2d.h" | 44 #include "ppapi/c/ppb_graphics_2d.h" |
| 45 #include "third_party/ppapi/c/ppb_image_data.h" | 45 #include "ppapi/c/ppb_image_data.h" |
| 46 #include "third_party/ppapi/c/ppb_instance.h" | 46 #include "ppapi/c/ppb_instance.h" |
| 47 #include "third_party/ppapi/c/ppb_var.h" | 47 #include "ppapi/c/ppb_var.h" |
| 48 #include "third_party/ppapi/c/ppp.h" | 48 #include "ppapi/c/ppp.h" |
| 49 #include "third_party/ppapi/c/ppp_instance.h" | 49 #include "ppapi/c/ppp_instance.h" |
| 50 #include "webkit/glue/plugins/pepper_audio.h" | 50 #include "webkit/glue/plugins/pepper_audio.h" |
| 51 #include "webkit/glue/plugins/pepper_buffer.h" | 51 #include "webkit/glue/plugins/pepper_buffer.h" |
| 52 #include "webkit/glue/plugins/pepper_char_set.h" | 52 #include "webkit/glue/plugins/pepper_char_set.h" |
| 53 #include "webkit/glue/plugins/pepper_cursor_control.h" | 53 #include "webkit/glue/plugins/pepper_cursor_control.h" |
| 54 #include "webkit/glue/plugins/pepper_directory_reader.h" | 54 #include "webkit/glue/plugins/pepper_directory_reader.h" |
| 55 #include "webkit/glue/plugins/pepper_file_chooser.h" | 55 #include "webkit/glue/plugins/pepper_file_chooser.h" |
| 56 #include "webkit/glue/plugins/pepper_file_io.h" | 56 #include "webkit/glue/plugins/pepper_file_io.h" |
| 57 #include "webkit/glue/plugins/pepper_file_ref.h" | 57 #include "webkit/glue/plugins/pepper_file_ref.h" |
| 58 #include "webkit/glue/plugins/pepper_file_system.h" | 58 #include "webkit/glue/plugins/pepper_file_system.h" |
| 59 #include "webkit/glue/plugins/pepper_font.h" | 59 #include "webkit/glue/plugins/pepper_font.h" |
| (...skipping 419 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 479 live_plugin_objects_.insert(plugin_object); | 479 live_plugin_objects_.insert(plugin_object); |
| 480 } | 480 } |
| 481 | 481 |
| 482 void PluginModule::RemovePluginObject(PluginObject* plugin_object) { | 482 void PluginModule::RemovePluginObject(PluginObject* plugin_object) { |
| 483 // Don't actually verify that the object is in the set since during module | 483 // Don't actually verify that the object is in the set since during module |
| 484 // deletion we'll be in the process of freeing them. | 484 // deletion we'll be in the process of freeing them. |
| 485 live_plugin_objects_.erase(plugin_object); | 485 live_plugin_objects_.erase(plugin_object); |
| 486 } | 486 } |
| 487 | 487 |
| 488 } // namespace pepper | 488 } // namespace pepper |
| OLD | NEW |