chromium/third_party/blink/renderer/modules/printing/web_printing_manager.cc

// Copyright 2023 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/printing/web_printing_manager.h"

#include "printing/buildflags/buildflags.h"
#include "third_party/blink/public/mojom/permissions_policy/permissions_policy_feature.mojom-shared.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/core/execution_context/navigator_base.h"
#include "third_party/blink/renderer/modules/printing/web_printer.h"
#include "third_party/blink/renderer/platform/heap/collection_support/heap_hash_set.h"
#include "third_party/blink/renderer/platform/heap/garbage_collected.h"
#include "third_party/blink/renderer/platform/wtf/functional.h"

namespace blink {

namespace {

bool CheckContextAndPermissions(ScriptState* script_state,
                                ExceptionState& exception_state) {}

}  // namespace

const char WebPrintingManager::kSupplementName[] =;

WebPrintingManager* WebPrintingManager::GetWebPrintingManager(
    NavigatorBase& navigator) {}

WebPrintingManager::WebPrintingManager(NavigatorBase& navigator)
    :{}

ScriptPromise<IDLSequence<WebPrinter>> WebPrintingManager::getPrinters(
    ScriptState* script_state,
    ExceptionState& exception_state) {}

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

mojom::blink::WebPrintingService* WebPrintingManager::GetPrintingService() {}

void WebPrintingManager::OnPrintersRetrieved(
    ScriptPromiseResolver<IDLSequence<WebPrinter>>* resolver,
    mojom::blink::GetPrintersResultPtr result) {}

}  // namespace blink