| Index: chrome/browser/printing/print_job_worker.h
|
| ===================================================================
|
| --- chrome/browser/printing/print_job_worker.h (revision 9138)
|
| +++ chrome/browser/printing/print_job_worker.h (working copy)
|
| @@ -25,7 +25,7 @@
|
| // PrintJob always outlives its worker instance.
|
| class PrintJobWorker : public base::Thread {
|
| public:
|
| - PrintJobWorker(PrintJobWorkerOwner* owner);
|
| + explicit PrintJobWorker(PrintJobWorkerOwner* owner);
|
| ~PrintJobWorker();
|
|
|
| void SetNewOwner(PrintJobWorkerOwner* new_owner);
|
| @@ -58,6 +58,10 @@
|
| // ALL_PAGES_REQUESTED notification once done.
|
| void RequestMissingPages();
|
|
|
| + protected:
|
| + // Retrieves the context for testing only.
|
| + PrintingContext& printing_context() { return printing_context_; }
|
| +
|
| private:
|
| // The shared NotificationService service can only be accessed from the UI
|
| // thread, so this class encloses the necessary information to send the
|
|
|