// Copyright 2024 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "components/pdf/common/pdf_util.h" #include "base/metrics/histogram_macros.h" #include "content/public/common/url_utils.h" #include "extensions/buildflags/buildflags.h" #include "url/origin.h" #if BUILDFLAG(ENABLE_EXTENSIONS) #include "extensions/common/constants.h" // nogncheck #endif // BUILDFLAG(ENABLE_EXTENSIONS) void ReportPDFLoadStatus(PDFLoadStatus status) { … } bool IsPdfExtensionOrigin(const url::Origin& origin) { … } bool IsPdfInternalPluginAllowedOrigin(const url::Origin& origin) { … }