// and the end of the spooling.
bool is_job_pending() const;
- // Returns true if the worker thread is in the process of stopping.
- bool is_stopping() const;
-
- // Returns true if the worker thread has stopped.
- bool is_stopped() const;
-
// Access the current printed document. Warning: may be NULL.
PrintedDocument* document() const;
// Called at shutdown when running a nested message loop.
void Quit();
- void HoldUntilStopIsCalled(const scoped_refptr<PrintJob>& job);
+ void HoldUntilStopIsCalled();
content::NotificationRegistrar registrar_;
// the notified calls Cancel() again.
bool is_canceling_;
- // Is the worker thread stopping.
- bool is_stopping_;
-
- // Is the worker thread stopped.
- bool is_stopped_;
-
// Used at shutdown so that we can quit a nested message loop.
base::WeakPtrFactory<PrintJob> quit_factory_;
- base::WeakPtrFactory<PrintJob> weak_ptr_factory_;
-
DISALLOW_COPY_AND_ASSIGN(PrintJob);
};