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

Unified Diff: content/common/frame_messages.h

Issue 1977303003: Adds a feature to MHTML serialization that omits subframes and subresources marked no-store. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@no-store
Patch Set: Address dcheng's comments. 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
Index: content/common/frame_messages.h
diff --git a/content/common/frame_messages.h b/content/common/frame_messages.h
index 31bb2c6e77d0884ad889deb07eac23196d93fdce..d3800aff503d5eb82688d0296f62f50c10695bdc 100644
--- a/content/common/frame_messages.h
+++ b/content/common/frame_messages.h
@@ -31,7 +31,6 @@
#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"
@@ -43,6 +42,7 @@
#include "third_party/WebKit/public/platform/WebFocusType.h"
#include "third_party/WebKit/public/web/WebFindOptions.h"
#include "third_party/WebKit/public/web/WebFrameOwnerProperties.h"
+#include "third_party/WebKit/public/web/WebFrameSerializerCacheControlPolicy.h"
#include "third_party/WebKit/public/web/WebTreeScopeType.h"
#include "ui/gfx/geometry/rect.h"
#include "ui/gfx/geometry/rect_f.h"
@@ -503,7 +503,7 @@ IPC_STRUCT_BEGIN(FrameMsg_SerializeAsMHTML_Params)
// intended for sharing.
IPC_STRUCT_MEMBER(bool, mhtml_binary_encoding)
- IPC_STRUCT_MEMBER(content::MHTMLCacheControlPolicy,
+ IPC_STRUCT_MEMBER(blink::WebFrameSerializerCacheControlPolicy,
mhtml_cache_control_policy)
// Frame to content-id map.

Powered by Google App Engine
This is Rietveld 408576698