#include "chrome/browser/printing/print_job_manager.h"
#include "base/functional/bind.h"
#include "base/time/time.h"
#include "build/build_config.h"
#include "chrome/browser/printing/print_job.h"
#include "chrome/browser/printing/printer_query.h"
#include "content/public/browser/browser_thread.h"
#include "content/public/browser/global_routing_id.h"
#include "printing/printed_document.h"
#if defined(_WINDOWS_)
#include "base/win/windows_h_disallowed.h"
#endif
namespace printing {
PrintQueriesQueue::PrintQueriesQueue() = default;
PrintQueriesQueue::~PrintQueriesQueue() { … }
void PrintQueriesQueue::QueuePrinterQuery(std::unique_ptr<PrinterQuery> query) { … }
std::unique_ptr<PrinterQuery> PrintQueriesQueue::PopPrinterQuery(
int document_cookie) { … }
std::unique_ptr<PrinterQuery> PrintQueriesQueue::CreatePrinterQuery(
content::GlobalRenderFrameHostId rfh_id) { … }
void PrintQueriesQueue::Shutdown() { … }
PrintJobManager::PrintJobManager() = default;
PrintJobManager::~PrintJobManager() = default;
base::CallbackListSubscription PrintJobManager::AddDocDoneCallback(
DocDoneCallback callback) { … }
scoped_refptr<PrintQueriesQueue> PrintJobManager::queue() { … }
void PrintJobManager::SetQueueForTest(scoped_refptr<PrintQueriesQueue> queue) { … }
void PrintJobManager::Shutdown() { … }
void PrintJobManager::StopJobs(bool wait_for_finish) { … }
void PrintJobManager::OnStarted(PrintJob* print_job) { … }
void PrintJobManager::OnDocDone(PrintJob* print_job,
PrintedDocument* document,
int job_id) { … }
void PrintJobManager::OnJobDone(PrintJob* print_job) { … }
void PrintJobManager::OnFailed(PrintJob* print_job) { … }
}