Upstream version 5.34.104.0
[platform/framework/web/crosswalk.git] / src / chrome / browser / printing / print_job.h
index e342250..2ff827a 100644 (file)
@@ -88,12 +88,6 @@ class PrintJob : public PrintJobWorkerOwner,
   // 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;
 
@@ -118,7 +112,7 @@ class PrintJob : public PrintJobWorkerOwner,
   // Called at shutdown when running a nested message loop.
   void Quit();
 
-  void HoldUntilStopIsCalled(const scoped_refptr<PrintJob>& job);
+  void HoldUntilStopIsCalled();
 
   content::NotificationRegistrar registrar_;
 
@@ -148,17 +142,9 @@ class PrintJob : public PrintJobWorkerOwner,
   // 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);
 };