#include "content/browser/renderer_host/plugin_registry_impl.h"
#include "base/containers/contains.h"
#include "base/functional/bind.h"
#include "content/browser/plugin_service_impl.h"
#include "content/public/browser/content_browser_client.h"
#include "content/public/browser/plugin_service_filter.h"
#include "content/public/browser/render_process_host.h"
#include "content/public/common/content_client.h"
#include "content/public/common/webplugininfo.h"
namespace content {
namespace {
constexpr auto kPluginRefreshThreshold = …;
}
PluginRegistryImpl::PluginRegistryImpl(int render_process_id)
: … { … }
PluginRegistryImpl::~PluginRegistryImpl() = default;
void PluginRegistryImpl::Bind(
mojo::PendingReceiver<blink::mojom::PluginRegistry> receiver) { … }
void PluginRegistryImpl::GetPlugins(bool refresh, GetPluginsCallback callback) { … }
void PluginRegistryImpl::GetPluginsComplete(
GetPluginsCallback callback,
const std::vector<WebPluginInfo>& all_plugins) { … }
}