Remove main_frame_origin from PluginRegistry

Drops the obsolete main_frame_origin parameter from the
PluginRegistry.GetPlugins() IPC. This IPC provides process-wide
information to the renderer, so parameterizing by the main frame origin
was incorrect.

crrev.com/935617 removed support for the main_frame_origin parameter,
while this change removes the now-unused parameter from the Mojo
interface. Follow-up changes will finish cleaning up obsolete plumbing.

Bug: 850278
Change-Id: Id0ceccd254afa6a4d0cf2a4ed31696b19970f53b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3415657
Reviewed-by: Charles Reis <[email protected]>
Reviewed-by: Daniel Cheng <[email protected]>
Commit-Queue: K. Moon <[email protected]>
Cr-Commit-Position: refs/heads/main@{#963353}
diff --git a/content/browser/renderer_host/plugin_registry_impl.h b/content/browser/renderer_host/plugin_registry_impl.h
index 632ae86..880665d 100644
--- a/content/browser/renderer_host/plugin_registry_impl.h
+++ b/content/browser/renderer_host/plugin_registry_impl.h
@@ -23,13 +23,10 @@
   void Bind(mojo::PendingReceiver<blink::mojom::PluginRegistry> receiver);
 
   // blink::mojom::PluginRegistry
-  void GetPlugins(bool refresh,
-                  const url::Origin& main_frame_origin,
-                  GetPluginsCallback callback) override;
+  void GetPlugins(bool refresh, GetPluginsCallback callback) override;
 
  private:
-  void GetPluginsComplete(const url::Origin& main_frame_origin,
-                          GetPluginsCallback callback,
+  void GetPluginsComplete(GetPluginsCallback callback,
                           const std::vector<WebPluginInfo>& all_plugins);
 
   int render_process_id_;