chromium/third_party/blink/renderer/modules/plugins/navigator_plugins.cc

// Copyright 2015 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#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) {}
}  // namespace

NavigatorPlugins::NavigatorPlugins(Navigator& navigator)
    :{}

// static
NavigatorPlugins& NavigatorPlugins::From(Navigator& navigator) {}

// static
NavigatorPlugins* NavigatorPlugins::ToNavigatorPlugins(Navigator& navigator) {}

// static
const char NavigatorPlugins::kSupplementName[] =;

// static
DOMPluginArray* NavigatorPlugins::plugins(Navigator& navigator) {}

// static
DOMMimeTypeArray* NavigatorPlugins::mimeTypes(Navigator& navigator) {}

// static
bool NavigatorPlugins::pdfViewerEnabled(Navigator& navigator) {}

// static
bool NavigatorPlugins::javaEnabled(Navigator& navigator) {}

namespace {

void RecordPlugins(LocalDOMWindow* window, DOMPluginArray* plugins) {}

void RecordMimeTypes(LocalDOMWindow* window, DOMMimeTypeArray* mime_types) {}

}  // namespace

DOMPluginArray* NavigatorPlugins::plugins(LocalDOMWindow* window) const {}

DOMMimeTypeArray* NavigatorPlugins::mimeTypes(LocalDOMWindow* window) const {}

bool NavigatorPlugins::pdfViewerEnabled(LocalDOMWindow* window) const {}

void NavigatorPlugins::Trace(Visitor* visitor) const {}

}  // namespace blink