| Index: chrome/browser/ui/webui/print_preview/print_preview_handler.h
|
| diff --git a/chrome/browser/ui/webui/print_preview/print_preview_handler.h b/chrome/browser/ui/webui/print_preview/print_preview_handler.h
|
| index 35b50cf1ba0244d605dc43f88afd8fb5e006f988..f363030818c10cbabcb8b762ea8cd8b259d86567 100644
|
| --- a/chrome/browser/ui/webui/print_preview/print_preview_handler.h
|
| +++ b/chrome/browser/ui/webui/print_preview/print_preview_handler.h
|
| @@ -7,6 +7,7 @@
|
|
|
| #include <memory>
|
| #include <string>
|
| +#include <vector>
|
|
|
| #include "base/files/file_path.h"
|
| #include "base/gtest_prod_util.h"
|
| @@ -74,7 +75,13 @@ class PrintPreviewHandler
|
| const GoogleServiceAuthError& error) override;
|
|
|
| // Called when print preview failed.
|
| - void OnPrintPreviewFailed();
|
| + void OnPrintPreviewFailed(int request_id);
|
| +
|
| + // Called when printer settings were invalid.
|
| + void OnInvalidPrinterSettings(int request_id);
|
| +
|
| + // Called when print preview is ready.
|
| + void OnPrintPreviewReady(int preview_uid, int request_id);
|
|
|
| #if BUILDFLAG(ENABLE_BASIC_PRINTING)
|
| // Called when the user press ctrl+shift+p to display the native system
|
| @@ -421,6 +428,8 @@ class PrintPreviewHandler
|
| // notify the test if it was a successful save, only that it was attempted.
|
| base::Closure pdf_file_saved_closure_;
|
|
|
| + std::vector<std::string> preview_callbacks_;
|
| +
|
| #if BUILDFLAG(ENABLE_SERVICE_DISCOVERY)
|
| // Callback ID to be used to notify UI that privet search is finished.
|
| std::string privet_search_callback_id_;
|
|
|