| Index: chrome/browser/printing/print_job_manager.h
|
| diff --git a/chrome/browser/printing/print_job_manager.h b/chrome/browser/printing/print_job_manager.h
|
| index 1b629d9e82f6135a14fac50440fb7826d3cb42ed..5f7b6d2a87d5a7c3d2811d8e4247162f2e81c3de 100644
|
| --- a/chrome/browser/printing/print_job_manager.h
|
| +++ b/chrome/browser/printing/print_job_manager.h
|
| @@ -45,6 +45,10 @@ class PrintJobManager : public NotificationObserver {
|
| // TODO(maruel): Have them vanish after a timeout (~5 minutes?)
|
| void QueuePrinterQuery(PrinterQuery* job);
|
|
|
| + // Pops a queued PrintJobWorkerOwner object and posts a task to stop the
|
| + // worker. Can be called from any thread.
|
| + void PopAndStopPrinterQuery(int document_cookie);
|
| +
|
| // Pops a queued PrintJobWorkerOwner object that was previously queued. Can be
|
| // called from any thread. Current use case is poping from the browser thread.
|
| void PopPrinterQuery(int document_cookie, scoped_refptr<PrinterQuery>* job);
|
|
|