Index: chrome/common/render_messages.h |
diff --git a/chrome/common/render_messages.h b/chrome/common/render_messages.h |
index e3011ee54ce9ac45fb431c40a4def543578c04f0..f42ab8e5b94dd08ad2981d35ff0f65d606b5e93f 100644 |
--- a/chrome/common/render_messages.h |
+++ b/chrome/common/render_messages.h |
@@ -26,6 +26,7 @@ |
#include "chrome/common/translate_errors.h" |
#include "content/common/common_param_traits.h" |
#include "ipc/ipc_message_macros.h" |
+#include "ipc/ipc_platform_file.h" |
#include "third_party/WebKit/Source/WebKit/chromium/public/WebCache.h" |
#include "third_party/WebKit/Source/WebKit/chromium/public/WebConsoleMessage.h" |
#include "ui/gfx/rect.h" |
@@ -261,6 +262,11 @@ IPC_MESSAGE_ROUTED1(ViewMsg_SetIsPrerendering, |
IPC_MESSAGE_CONTROL1(ViewMsg_SetIsIncognitoProcess, |
bool /* is_incognito_processs */) |
+// Instructs the renderer to save the current page to MHTML. |
+IPC_MESSAGE_ROUTED2(ViewMsg_SavePageAsMHTML, |
+ int /* job_id */, |
+ IPC::PlatformFileForTransit /* file handle */) |
+ |
//----------------------------------------------------------------------------- |
// TabContents messages |
// These are messages sent from the renderer to the browser process. |
@@ -481,6 +487,11 @@ IPC_SYNC_MESSAGE_ROUTED1_1(ViewHostMsg_CanTriggerClipboardWrite, |
GURL /* url */, |
bool /* allowed */) |
+// Notifies the browser that the page was or was not saved as MHTML. |
+IPC_MESSAGE_ROUTED2(ViewHostMsg_SavedPageAsMHTML, |
+ int /* job_id*/, |
+ bool /* success */) |
+ |
// Suggest results ----------------------------------------------------------- |
IPC_MESSAGE_ROUTED3(ViewHostMsg_SetSuggestions, |