chromium/components/printing/browser/print_manager.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 "components/printing/browser/print_manager.h"

#include "base/functional/bind.h"
#include "build/build_config.h"
#include "content/public/browser/render_frame_host.h"
#include "third_party/blink/public/common/associated_interfaces/associated_interface_provider.h"

namespace printing {

PrintManager::PrintManager(content::WebContents* contents)
    :{}

PrintManager::~PrintManager() = default;

void PrintManager::BindReceiver(
    mojo::PendingAssociatedReceiver<mojom::PrintManagerHost> receiver,
    content::RenderFrameHost* rfh) {}

void PrintManager::RenderFrameDeleted(
    content::RenderFrameHost* render_frame_host) {}

void PrintManager::DidGetPrintedPagesCount(int32_t cookie,
                                           uint32_t number_pages) {}

void PrintManager::DidShowPrintDialog() {}

void PrintManager::DidPrintDocument(mojom::DidPrintDocumentParamsPtr params,
                                    DidPrintDocumentCallback callback) {}

void PrintManager::IsPrintingEnabled(IsPrintingEnabledCallback callback) {}

void PrintManager::PrintingFailed(int32_t cookie,
                                  mojom::PrintFailureReason reason) {}

void PrintManager::ClearPrintRenderFramesForTesting() {}

bool PrintManager::IsPrintRenderFrameConnected(
    content::RenderFrameHost* rfh) const {}

const mojo::AssociatedRemote<printing::mojom::PrintRenderFrame>&
PrintManager::GetPrintRenderFrame(content::RenderFrameHost* rfh) {}

content::RenderFrameHost* PrintManager::GetCurrentTargetFrame() {}

void PrintManager::PrintingRenderFrameDeleted() {}

bool PrintManager::IsValidCookie(int cookie) const {}

}  // namespace printing