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

Unified Diff: content/common/frame_messages.h

Issue 1947263004: Introduces a new MHTML generation parameter specifying different behvaior for cache-control headers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase onto origin/master. Created 4 years, 7 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/child/assert_matching_enums.cc ('k') | content/content_common.gypi » ('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 4de5ff7d56c6a19546a141aeb9c594872c6cf3b4..18ae3637a8bada2639c2fce86515a4c93b915a79 100644
--- a/content/common/frame_messages.h
+++ b/content/common/frame_messages.h
@@ -30,6 +30,7 @@
#include "content/public/common/context_menu_params.h"
#include "content/public/common/frame_navigate_params.h"
#include "content/public/common/javascript_message_type.h"
+#include "content/public/common/mhtml_generation_params.h"
#include "content/public/common/page_importance_signals.h"
#include "content/public/common/page_state.h"
#include "content/public/common/resource_response.h"
@@ -500,6 +501,9 @@ IPC_STRUCT_BEGIN(FrameMsg_SerializeAsMHTML_Params)
// intended for sharing.
IPC_STRUCT_MEMBER(bool, mhtml_binary_encoding)
+ IPC_STRUCT_MEMBER(content::MHTMLCacheControlPolicy,
+ mhtml_cache_control_policy)
+
// 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/child/assert_matching_enums.cc ('k') | content/content_common.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698