#include "chrome/browser/printing/background_printing_manager.h"
#include "base/containers/contains.h"
#include "base/location.h"
#include "base/memory/raw_ptr.h"
#include "base/task/single_thread_task_runner.h"
#include "chrome/browser/printing/print_job.h"
#include "chrome/browser/printing/print_preview_dialog_controller.h"
#include "content/public/browser/browser_thread.h"
#include "content/public/browser/web_contents.h"
#include "content/public/browser/web_contents_observer.h"
BrowserContext;
BrowserThread;
WebContents;
namespace printing {
class BackgroundPrintingManager::Observer
: public content::WebContentsObserver { … };
BackgroundPrintingManager::Observer::Observer(
BackgroundPrintingManager* manager, WebContents* web_contents)
: … { … }
void BackgroundPrintingManager::Observer::PrimaryMainFrameRenderProcessGone(
base::TerminationStatus status) { … }
BackgroundPrintingManager::BackgroundPrintingManager() { … }
BackgroundPrintingManager::~BackgroundPrintingManager() { … }
void BackgroundPrintingManager::OwnPrintPreviewDialog(
std::unique_ptr<WebContents> preview_dialog) { … }
void BackgroundPrintingManager::DeletePreviewContentsForBrowserContext(
BrowserContext* browser_context) { … }
void BackgroundPrintingManager::OnPrintRequestCancelled(
WebContents* preview_contents) { … }
void BackgroundPrintingManager::DeletePreviewContents(
WebContents* preview_contents) { … }
std::set<content::WebContents*> BackgroundPrintingManager::CurrentContentSet() { … }
bool BackgroundPrintingManager::HasPrintPreviewDialog(
WebContents* preview_dialog) { … }
BackgroundPrintingManager::PrintingContents::PrintingContents() = default;
BackgroundPrintingManager::PrintingContents::~PrintingContents() = default;
BackgroundPrintingManager::PrintingContents::PrintingContents(
PrintingContents&&) = default;
BackgroundPrintingManager::PrintingContents&
BackgroundPrintingManager::PrintingContents::operator=(PrintingContents&&) =
default;
}