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

Unified Diff: content/public/common/mhtml_generation_params.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 Łukasz 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/public/common/mhtml_generation_params.h
diff --git a/content/public/common/mhtml_generation_params.h b/content/public/common/mhtml_generation_params.h
index c61879f0f183849399f9193300187d99392c8693..c0a36a47d2949334c567e7b02fcb9398f08c9d3e 100644
--- a/content/public/common/mhtml_generation_params.h
+++ b/content/public/common/mhtml_generation_params.h
@@ -15,11 +15,11 @@ namespace content {
enum class MHTMLCacheControlPolicy {
NONE = 0,
FAIL_FOR_NO_STORE_MAIN_FRAME,
-
+ SKIP_ANY_FRAME_OR_RESOURCE_MARKED_NO_STORE,
// |LAST| is used in content/public/common/common_param_traits_macros.h with
// IPC_ENUM_TRAITS_MAX_VALUE macro. Keep the value up to date. Otherwise
// a new value can not be passed to the renderer.
- LAST = FAIL_FOR_NO_STORE_MAIN_FRAME
+ LAST = SKIP_ANY_FRAME_OR_RESOURCE_MARKED_NO_STORE
};
struct CONTENT_EXPORT MHTMLGenerationParams {

Powered by Google App Engine
This is Rietveld 408576698