Chromium Code Reviews| 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 0c3283c21c02e1d642664d09d9c404ba710fdef4..b69ace580e4da288163c1a6e8d64b5b1c370df70 100644 |
| --- a/chrome/browser/ui/webui/print_preview_handler.h |
| +++ b/chrome/browser/ui/webui/print_preview_handler.h |
| @@ -80,8 +80,7 @@ class PrintPreviewHandler : public WebUIMessageHandler, |
| void SendDefaultPrinter(const StringValue& default_printer); |
| // Send the list of printers to the Web UI. |
| - void SendPrinterList(const ListValue& printers, |
| - const FundamentalValue& default_printer_index); |
| + void SendPrinterList(const ListValue& printers); |
| // Helper function to get the initiator tab for the print preview tab. |
| TabContents* GetInitiatorTab(); |
| @@ -102,6 +101,7 @@ class PrintPreviewHandler : public WebUIMessageHandler, |
| scoped_refptr<SelectFileDialog> select_file_dialog_; |
| static FilePath* last_saved_path_; |
| + static std::string last_used_printer_; |
|
Lei Zhang
2011/06/08 00:41:59
I don't think you are allowed to use non-POD stati
dpapad
2011/06/08 16:33:56
Done.
|
| // A count of how many requests received to regenerate preview data. |
| // Initialized to 0 then incremented and emitted to a histogram. |