Index: chrome/browser/ui/webui/print_preview_handler.h |
diff --git a/chrome/browser/ui/webui/print_preview_handler.h b/chrome/browser/ui/webui/print_preview_handler.h |
index 7d6ce1671da02821f1106029bee27cb813c0b154..f191d5cf45a97128a14a80bb58577b3af4a44bc2 100644 |
--- a/chrome/browser/ui/webui/print_preview_handler.h |
+++ b/chrome/browser/ui/webui/print_preview_handler.h |
@@ -157,6 +157,10 @@ class PrintPreviewHandler : public WebUIMessageHandler, |
// Clears initiator tab details for this preview tab. |
void ClearInitiatorTabDetails(); |
+ // Posts a task to save to pdf at |path|. |is_pending| is true if the preview |
+ // tab is hidden at the time the task is posted. |
+ void PostPrintToPdfTask(FilePath& path, bool is_pending); |
+ |
// Pointer to current print system. |
scoped_refptr<printing::PrintBackend> print_backend_; |
@@ -181,6 +185,8 @@ class PrintPreviewHandler : public WebUIMessageHandler, |
// Whether we have already logged the number of printers this session. |
bool has_logged_printers_count_; |
+ FilePath pending_print_to_pdf_path_; |
kmadhusu
2011/09/02 21:47:03
Document this variable.
dpapad
2011/09/07 00:46:19
Done.
|
+ |
DISALLOW_COPY_AND_ASSIGN(PrintPreviewHandler); |
}; |