Index: chrome/common/print_messages.h |
diff --git a/chrome/common/print_messages.h b/chrome/common/print_messages.h |
index eabfc292f21befe1bcdc178b18e2489160815dd1..36ea42141dc3cf909748d694903593b70f060ae9 100644 |
--- a/chrome/common/print_messages.h |
+++ b/chrome/common/print_messages.h |
@@ -381,24 +381,26 @@ IPC_MESSAGE_ROUTED1(PrintHostMsg_DidPrintPage, |
PrintHostMsg_DidPrintPage_Params /* page content */) |
// The renderer wants to know the default print settings. |
-IPC_SYNC_MESSAGE_ROUTED0_1(PrintHostMsg_GetDefaultPrintSettings, |
- PrintMsg_Print_Params /* default_settings */) |
+IPC_SYNC_MESSAGE_CONTROL1_1(PrintHostMsg_GetDefaultPrintSettings, |
+ int /* render_view_id */, |
+ PrintMsg_Print_Params /* default_settings */) |
// The renderer wants to update the current print settings with new |
// |job_settings|. |
-IPC_SYNC_MESSAGE_ROUTED2_1(PrintHostMsg_UpdatePrintSettings, |
- int /* document_cookie */, |
- base::DictionaryValue /* job_settings */, |
- PrintMsg_PrintPages_Params /* current_settings */) |
+IPC_SYNC_MESSAGE_CONTROL3_1(PrintHostMsg_UpdatePrintSettings, |
+ int /* render_view_id */, |
+ int /* document_cookie */, |
+ base::DictionaryValue /* job_settings */, |
+ PrintMsg_PrintPages_Params /* current_settings */) |
// It's the renderer that controls the printing process when it is generated |
// by javascript. This step is about showing UI to the user to select the |
// final print settings. The output parameter is the same as |
// ViewMsg_PrintPages which is executed implicitly. |
-IPC_SYNC_MESSAGE_ROUTED1_1(PrintHostMsg_ScriptedPrint, |
- PrintHostMsg_ScriptedPrint_Params, |
- PrintMsg_PrintPages_Params |
- /* settings chosen by the user*/) |
+IPC_SYNC_MESSAGE_CONTROL2_1(PrintHostMsg_ScriptedPrint, |
+ int /* render_view_id */, |
+ PrintHostMsg_ScriptedPrint_Params, |
+ PrintMsg_PrintPages_Params /* user settings*/) |
#if defined(OS_CHROMEOS) || defined(OS_ANDROID) |
// Asks the browser to create a temporary file for the renderer to fill |