Index: content/common/view_messages.h |
diff --git a/content/common/view_messages.h b/content/common/view_messages.h |
index 2554b2843cbd94a893d1d673340fa2052001a62d..762b93046644444a972a2b3392a3e15ec8932976 100644 |
--- a/content/common/view_messages.h |
+++ b/content/common/view_messages.h |
@@ -1195,6 +1195,11 @@ IPC_MESSAGE_ROUTED0(ViewMsg_GetFPS) |
// Used to instruct the RenderView to go into "view source" mode. |
IPC_MESSAGE_ROUTED0(ViewMsg_EnableViewSourceMode) |
+// Instructs the renderer to save the current page to MHTML. |
+IPC_MESSAGE_ROUTED2(ViewMsg_SavePageAsMHTML, |
+ int /* job_id */, |
+ IPC::PlatformFileForTransit /* file handle */) |
+ |
// Messages sent from the renderer to the browser. |
// Sent by the renderer when it is creating a new window. The browser creates |
@@ -1963,3 +1968,7 @@ IPC_MESSAGE_CONTROL2(ViewHostMsg_FPS, |
int /* routing id */, |
float /* frames per second */) |
+// Notifies the browser that the page was or was not saved as MHTML. |
+IPC_MESSAGE_ROUTED2(ViewHostMsg_SavedPageAsMHTML, |
+ int /* job_id*/, |
+ bool /* success */) |