Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(830)

Unified Diff: content/common/frame_messages.h

Issue 2519273002: Fail when saving page as MHTML provides information about the cause. (Closed)
Patch Set: Minor changes. Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/common/frame_messages.h
diff --git a/content/common/frame_messages.h b/content/common/frame_messages.h
index e9dbe90de58341429b39ee047da83d78b69cdfd9..a84b0f01f73cd26a55e2843a7416a69ef82b6e80 100644
--- a/content/common/frame_messages.h
+++ b/content/common/frame_messages.h
@@ -19,6 +19,7 @@
#include "content/common/content_export.h"
#include "content/common/content_param_traits.h"
#include "content/common/content_security_policy_header.h"
+#include "content/common/download/mhtml_save_status.h"
#include "content/common/frame_message_enums.h"
#include "content/common/frame_owner_properties.h"
#include "content/common/frame_replication_state.h"
@@ -1444,7 +1445,7 @@ IPC_MESSAGE_ROUTED2(FrameHostMsg_SerializedHtmlWithLocalLinksResponse,
IPC_MESSAGE_ROUTED4(
FrameHostMsg_SerializeAsMHTMLResponse,
int /* job_id (used to match responses to requests) */,
- bool /* true if success, false if error */,
+ content::MhtmlSaveStatus /* final success/failure status */,
std::set<std::string> /* digests of uris of serialized resources */,
base::TimeDelta /* how much time of the main render thread was used */)

Powered by Google App Engine
This is Rietveld 408576698