It currently goes through the Blink API and classic IPC, but seems fairly straightforward to change.
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/8adc4917893e81e43335779f36a81d1c1cc3df55 commit 8adc4917893e81e43335779f36a81d1c1cc3df55 Author: Jeremy Roman <jbroman@chromium.org> Date: Fri May 25 14:38:15 2018 Simplify plugin list refresh logic. blink::ResetPluginCache, called by content/, currently tries to refresh the browser plugin cache as well, but content/ also blocks this from happening. We can simplify by simply not making this call in that case. Change-Id: Ib61db31ab03a481ea9b7c485df03af384e177637 Bug: 846722 Reviewed-on: https://chromium-review.googlesource.com/1072499 Commit-Queue: Jeremy Roman <jbroman@chromium.org> Reviewed-by: Kentaro Hara <haraken@chromium.org> Cr-Commit-Position: refs/heads/master@{#561871} [modify] https://crrev.com/8adc4917893e81e43335779f36a81d1c1cc3df55/content/renderer/render_thread_impl.cc [modify] https://crrev.com/8adc4917893e81e43335779f36a81d1c1cc3df55/content/renderer/renderer_blink_platform_impl.cc [modify] https://crrev.com/8adc4917893e81e43335779f36a81d1c1cc3df55/content/renderer/renderer_blink_platform_impl.h [modify] https://crrev.com/8adc4917893e81e43335779f36a81d1c1cc3df55/third_party/blink/renderer/core/page/page.cc [modify] https://crrev.com/8adc4917893e81e43335779f36a81d1c1cc3df55/third_party/blink/renderer/core/page/page.h [modify] https://crrev.com/8adc4917893e81e43335779f36a81d1c1cc3df55/third_party/blink/renderer/modules/plugins/dom_plugin_array.cc
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/b702474f0f48698e0b5a1ed0f0e79e13684148ca commit b702474f0f48698e0b5a1ed0f0e79e13684148ca Author: Jeremy Roman <jbroman@chromium.org> Date: Mon Jun 18 22:00:22 2018 Replace FrameHostMsg_GetPlugins with a Mojo interface. It is a per-process Mojo interface, since the browser side never did anything per-frame, and the renderer actually caches this data process-wide anyhow. Bug: 846722 Change-Id: I8e0300749b0d1c2b055b512f0d8906c1fcd3e403 Reviewed-on: https://chromium-review.googlesource.com/1073648 Reviewed-by: Antoine Labour <piman@chromium.org> Reviewed-by: Daniel Cheng <dcheng@chromium.org> Reviewed-by: Kentaro Hara <haraken@chromium.org> Commit-Queue: Jeremy Roman <jbroman@chromium.org> Cr-Commit-Position: refs/heads/master@{#568185} [modify] https://crrev.com/b702474f0f48698e0b5a1ed0f0e79e13684148ca/content/browser/BUILD.gn [modify] https://crrev.com/b702474f0f48698e0b5a1ed0f0e79e13684148ca/content/browser/frame_host/render_frame_message_filter.cc [modify] https://crrev.com/b702474f0f48698e0b5a1ed0f0e79e13684148ca/content/browser/frame_host/render_frame_message_filter.h [add] https://crrev.com/b702474f0f48698e0b5a1ed0f0e79e13684148ca/content/browser/renderer_host/plugin_registry_impl.cc [add] https://crrev.com/b702474f0f48698e0b5a1ed0f0e79e13684148ca/content/browser/renderer_host/plugin_registry_impl.h [modify] https://crrev.com/b702474f0f48698e0b5a1ed0f0e79e13684148ca/content/browser/renderer_host/render_process_host_impl.cc [modify] https://crrev.com/b702474f0f48698e0b5a1ed0f0e79e13684148ca/content/browser/renderer_host/render_process_host_impl.h [modify] https://crrev.com/b702474f0f48698e0b5a1ed0f0e79e13684148ca/content/common/frame_messages.h [modify] https://crrev.com/b702474f0f48698e0b5a1ed0f0e79e13684148ca/content/ppapi_plugin/ppapi_blink_platform_impl.cc [modify] https://crrev.com/b702474f0f48698e0b5a1ed0f0e79e13684148ca/content/ppapi_plugin/ppapi_blink_platform_impl.h [modify] https://crrev.com/b702474f0f48698e0b5a1ed0f0e79e13684148ca/content/public/app/mojo/content_browser_manifest.json [modify] https://crrev.com/b702474f0f48698e0b5a1ed0f0e79e13684148ca/content/renderer/renderer_blink_platform_impl.cc [modify] https://crrev.com/b702474f0f48698e0b5a1ed0f0e79e13684148ca/content/renderer/renderer_blink_platform_impl.h [modify] https://crrev.com/b702474f0f48698e0b5a1ed0f0e79e13684148ca/content/test/test_blink_web_unit_test_support.cc [modify] https://crrev.com/b702474f0f48698e0b5a1ed0f0e79e13684148ca/content/test/test_blink_web_unit_test_support.h [modify] https://crrev.com/b702474f0f48698e0b5a1ed0f0e79e13684148ca/third_party/blink/public/BUILD.gn [modify] https://crrev.com/b702474f0f48698e0b5a1ed0f0e79e13684148ca/third_party/blink/public/mojom/BUILD.gn [add] https://crrev.com/b702474f0f48698e0b5a1ed0f0e79e13684148ca/third_party/blink/public/mojom/plugins/OWNERS [add] https://crrev.com/b702474f0f48698e0b5a1ed0f0e79e13684148ca/third_party/blink/public/mojom/plugins/plugin_registry.mojom [modify] https://crrev.com/b702474f0f48698e0b5a1ed0f0e79e13684148ca/third_party/blink/public/platform/platform.h [delete] https://crrev.com/e2ea864f13a06487314df6a196dd39a554067520/third_party/blink/public/platform/web_plugin_list_builder.h [modify] https://crrev.com/b702474f0f48698e0b5a1ed0f0e79e13684148ca/third_party/blink/renderer/core/exported/web_frame_test.cc [modify] https://crrev.com/b702474f0f48698e0b5a1ed0f0e79e13684148ca/third_party/blink/renderer/core/exported/web_plugin_container_test.cc [modify] https://crrev.com/b702474f0f48698e0b5a1ed0f0e79e13684148ca/third_party/blink/renderer/platform/BUILD.gn [modify] https://crrev.com/b702474f0f48698e0b5a1ed0f0e79e13684148ca/third_party/blink/renderer/platform/plugins/plugin_data.cc [delete] https://crrev.com/e2ea864f13a06487314df6a196dd39a554067520/third_party/blink/renderer/platform/plugins/plugin_list_builder.cc [delete] https://crrev.com/e2ea864f13a06487314df6a196dd39a554067520/third_party/blink/renderer/platform/plugins/plugin_list_builder.h [add] https://crrev.com/b702474f0f48698e0b5a1ed0f0e79e13684148ca/third_party/blink/renderer/platform/testing/scoped_fake_plugin_registry.cc [add] https://crrev.com/b702474f0f48698e0b5a1ed0f0e79e13684148ca/third_party/blink/renderer/platform/testing/scoped_fake_plugin_registry.h
Comment 1 by bugdroid1@chromium.org
, May 25 2018