Index: chrome/browser/printing/print_job_worker.h |
diff --git a/chrome/browser/printing/print_job_worker.h b/chrome/browser/printing/print_job_worker.h |
index 6b0183b64423a4dd7e175b364772ddaaed826f1d..c2a3848002ee0a03b8eff57867f59309d1d5bfaa 100644 |
--- a/chrome/browser/printing/print_job_worker.h |
+++ b/chrome/browser/printing/print_job_worker.h |
@@ -42,6 +42,9 @@ class PrintJobWorker : public base::Thread { |
bool has_selection, |
bool use_overlays); |
+ // Set the new print settings. |new_settings| is a json string. |
+ void SetSettings(const std::string& new_settings); |
+ |
// Starts the printing loop. Every pages are printed as soon as the data is |
// available. Makes sure the new_document is the right one. |
void StartPrinting(PrintedDocument* new_document); |
@@ -92,6 +95,9 @@ class PrintJobWorker : public base::Thread { |
// back into the IO thread for GetSettingsDone(). |
void GetSettingsWithUIDone(PrintingContext::Result result); |
+ // Called on a UI thread to update the print settings. |
James Hawkins
2011/02/16 22:58:21
s/a/the/
kmadhusu
2011/02/17 19:20:31
Done.
|
+ void UpdatePrintSettings(const std::string& new_settings); |
+ |
// Reports settings back to owner_. |
void GetSettingsDone(PrintingContext::Result result); |