#include "third_party/blink/renderer/modules/plugins/navigator_plugins.h"
#include "third_party/blink/public/common/privacy_budget/identifiability_metric_builder.h"
#include "third_party/blink/public/common/privacy_budget/identifiability_study_settings.h"
#include "third_party/blink/public/common/privacy_budget/identifiable_token_builder.h"
#include "third_party/blink/public/mojom/use_counter/metrics/web_feature.mojom-blink.h"
#include "third_party/blink/renderer/core/frame/local_dom_window.h"
#include "third_party/blink/renderer/core/frame/navigator.h"
#include "third_party/blink/renderer/core/frame/settings.h"
#include "third_party/blink/renderer/modules/plugins/dom_mime_type.h"
#include "third_party/blink/renderer/modules/plugins/dom_mime_type_array.h"
#include "third_party/blink/renderer/modules/plugins/dom_plugin_array.h"
#include "third_party/blink/renderer/platform/privacy_budget/identifiability_digest_helpers.h"
namespace blink {
namespace {
bool ShouldReturnFixedPluginData(Navigator& navigator) { … }
}
NavigatorPlugins::NavigatorPlugins(Navigator& navigator)
: … { … }
NavigatorPlugins& NavigatorPlugins::From(Navigator& navigator) { … }
NavigatorPlugins* NavigatorPlugins::ToNavigatorPlugins(Navigator& navigator) { … }
const char NavigatorPlugins::kSupplementName[] = …;
DOMPluginArray* NavigatorPlugins::plugins(Navigator& navigator) { … }
DOMMimeTypeArray* NavigatorPlugins::mimeTypes(Navigator& navigator) { … }
bool NavigatorPlugins::pdfViewerEnabled(Navigator& navigator) { … }
bool NavigatorPlugins::javaEnabled(Navigator& navigator) { … }
namespace {
void RecordPlugins(LocalDOMWindow* window, DOMPluginArray* plugins) { … }
void RecordMimeTypes(LocalDOMWindow* window, DOMMimeTypeArray* mime_types) { … }
}
DOMPluginArray* NavigatorPlugins::plugins(LocalDOMWindow* window) const { … }
DOMMimeTypeArray* NavigatorPlugins::mimeTypes(LocalDOMWindow* window) const { … }
bool NavigatorPlugins::pdfViewerEnabled(LocalDOMWindow* window) const { … }
void NavigatorPlugins::Trace(Visitor* visitor) const { … }
}