#include "third_party/blink/renderer/modules/browsing_topics/browsing_topics_document_supplement.h"
#include "base/metrics/histogram_functions.h"
#include "components/browsing_topics/common/common_types.h"
#include "mojo/public/cpp/bindings/remote.h"
#include "services/metrics/public/cpp/ukm_builders.h"
#include "third_party/blink/public/mojom/permissions_policy/document_policy_feature.mojom-blink.h"
#include "third_party/blink/public/mojom/permissions_policy/permissions_policy.mojom-blink.h"
#include "third_party/blink/public/mojom/permissions_policy/permissions_policy_feature.mojom-blink.h"
#include "third_party/blink/public/mojom/use_counter/metrics/web_feature.mojom-blink.h"
#include "third_party/blink/public/platform/browser_interface_broker_proxy.h"
#include "third_party/blink/renderer/bindings/core/v8/script_promise.h"
#include "third_party/blink/renderer/bindings/core/v8/script_promise_resolver.h"
#include "third_party/blink/renderer/bindings/core/v8/v8_throw_dom_exception.h"
#include "third_party/blink/renderer/bindings/modules/v8/v8_browsing_topic.h"
#include "third_party/blink/renderer/bindings/modules/v8/v8_browsing_topics_options.h"
#include "third_party/blink/renderer/core/execution_context/execution_context.h"
#include "third_party/blink/renderer/core/frame/local_frame.h"
#include "third_party/blink/renderer/core/page/page.h"
namespace blink {
namespace {
void RecordInvalidRequestingContextUkmMetrics(Document& document) { … }
}
const char BrowsingTopicsDocumentSupplement::kSupplementName[] = …;
BrowsingTopicsDocumentSupplement* BrowsingTopicsDocumentSupplement::From(
Document& document) { … }
ScriptPromise<IDLSequence<BrowsingTopic>>
BrowsingTopicsDocumentSupplement::browsingTopics(
ScriptState* script_state,
Document& document,
ExceptionState& exception_state) { … }
ScriptPromise<IDLSequence<BrowsingTopic>>
BrowsingTopicsDocumentSupplement::browsingTopics(
ScriptState* script_state,
Document& document,
const BrowsingTopicsOptions* options,
ExceptionState& exception_state) { … }
BrowsingTopicsDocumentSupplement::BrowsingTopicsDocumentSupplement(
Document& document)
: … { … }
ScriptPromise<IDLSequence<BrowsingTopic>>
BrowsingTopicsDocumentSupplement::GetBrowsingTopics(
ScriptState* script_state,
Document& document,
const BrowsingTopicsOptions* options,
ExceptionState& exception_state) { … }
void BrowsingTopicsDocumentSupplement::Trace(Visitor* visitor) const { … }
}