chromium/pdf/pdfium/pdfium_permissions.cc

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

#include "pdf/pdfium/pdfium_permissions.h"

#include <stdint.h>

#include "base/notreached.h"
#include "base/numerics/safe_conversions.h"

namespace chrome_pdf {

// static
PDFiumPermissions PDFiumPermissions::CreateForTesting(
    int permissions_handler_revision,
    uint32_t permission_bits) {}

// Note that `FPDF_GetDocPermissions()` returns `unsigned long`, but is
// specified to return a 32-bit integer. The implementation also uses `uint32_t`
// internally.
PDFiumPermissions::PDFiumPermissions(FPDF_DOCUMENT doc)
    :{}

PDFiumPermissions::PDFiumPermissions(int permissions_handler_revision,
                                     uint32_t permission_bits)
    :{}

bool PDFiumPermissions::HasPermission(DocumentPermission permission) const {}

}  // namespace chrome_pdf