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

Unified Diff: content/child/assert_matching_enums.cc

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: Adds a test that compares actual visible content. 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/child/assert_matching_enums.cc
diff --git a/content/child/assert_matching_enums.cc b/content/child/assert_matching_enums.cc
index 21e57714a2a651cd67f95389ea22692194d2335b..4fa925fe0c9b3c8ff525f7c3a4d76d864c780d19 100644
--- a/content/child/assert_matching_enums.cc
+++ b/content/child/assert_matching_enums.cc
@@ -52,6 +52,11 @@ STATIC_ASSERT_ENUM(blink::WebFrameSerializerCacheControlPolicy::None,
STATIC_ASSERT_ENUM(
blink::WebFrameSerializerCacheControlPolicy::FailForNoStoreMainFrame,
MHTMLCacheControlPolicy::FAIL_FOR_NO_STORE_MAIN_FRAME);
+STATIC_ASSERT_ENUM(
+ blink::WebFrameSerializerCacheControlPolicy::
+ SkipAnyFrameOrResourceMarkedNoStore,
+ MHTMLCacheControlPolicy::SKIP_ANY_FRAME_OR_RESOURCE_MARKED_NO_STORE);
+
STATIC_ASSERT_ENUM(blink::WebFrameSerializerCacheControlPolicy::Last,
MHTMLCacheControlPolicy::LAST);

Powered by Google App Engine
This is Rietveld 408576698