| Index: components/printing/common/print_messages.h
|
| diff --git a/components/printing/common/print_messages.h b/components/printing/common/print_messages.h
|
| index 32b0451b60dd100d57ec67a31a94673f2ebd5359..deeb33e34e93ff29b6181f8684dace5b3b77381d 100644
|
| --- a/components/printing/common/print_messages.h
|
| +++ b/components/printing/common/print_messages.h
|
| @@ -448,8 +448,9 @@ IPC_MESSAGE_ROUTED1(PrintHostMsg_PrintingFailed,
|
|
|
| #if BUILDFLAG(ENABLE_PRINT_PREVIEW)
|
| // Tell the browser print preview failed.
|
| -IPC_MESSAGE_ROUTED1(PrintHostMsg_PrintPreviewFailed,
|
| - int /* document cookie */)
|
| +IPC_MESSAGE_ROUTED2(PrintHostMsg_PrintPreviewFailed,
|
| + int /* document cookie */,
|
| + int /* request id */)
|
|
|
| // Tell the browser print preview was cancelled.
|
| IPC_MESSAGE_ROUTED1(PrintHostMsg_PrintPreviewCancelled,
|
| @@ -458,8 +459,9 @@ IPC_MESSAGE_ROUTED1(PrintHostMsg_PrintPreviewCancelled,
|
| // Tell the browser print preview found the selected printer has invalid
|
| // settings (which typically caused by disconnected network printer or printer
|
| // driver is bogus).
|
| -IPC_MESSAGE_ROUTED1(PrintHostMsg_PrintPreviewInvalidPrinterSettings,
|
| - int /* document cookie */)
|
| +IPC_MESSAGE_ROUTED2(PrintHostMsg_PrintPreviewInvalidPrinterSettings,
|
| + int /* document cookie */,
|
| + int /* request id */)
|
|
|
| // Run a nested run loop in the renderer until print preview for
|
| // window.print() finishes.
|
|
|