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

Unified Diff: content/common/frame_messages.h

Issue 1899803002: Offline Pages: Use 'binary encoding' to create MHTML, instead of base64. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Final nits. Created 4 years, 8 months 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
« no previous file with comments | « content/browser/web_contents/web_contents_impl.cc ('k') | content/public/browser/web_contents.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/frame_messages.h
diff --git a/content/common/frame_messages.h b/content/common/frame_messages.h
index e10bedbb65ef73ba123e3bbfdb3182991d017d10..b128439de647e8d48e38b28107308d4b2b66d356 100644
--- a/content/common/frame_messages.h
+++ b/content/common/frame_messages.h
@@ -496,6 +496,11 @@ IPC_STRUCT_BEGIN(FrameMsg_SerializeAsMHTML_Params)
// |mhtml_boundary_marker| should be used for serialization of each frame.
IPC_STRUCT_MEMBER(std::string, mhtml_boundary_marker)
+ // Whether to use binary encoding while serializing. Binary encoding is not
+ // supported outside of Chrome, so this should not be used if the MHTML is
+ // intended for sharing.
+ IPC_STRUCT_MEMBER(bool, mhtml_binary_encoding)
+
// Frame to content-id map.
// Keys are routing ids of either RenderFrames or RenderFrameProxies.
// Values are MHTML content-ids - see WebFrameSerializer::generateMHTMLParts.
« no previous file with comments | « content/browser/web_contents/web_contents_impl.cc ('k') | content/public/browser/web_contents.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698