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

Unified Diff: content/child/assert_matching_enums.cc

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/browser/web_contents/web_contents_impl.cc ('k') | content/common/frame_messages.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/assert_matching_enums.cc
diff --git a/content/child/assert_matching_enums.cc b/content/child/assert_matching_enums.cc
index 690252905795fc58d15b820095cd90becabc96ae..21e57714a2a651cd67f95389ea22692194d2335b 100644
--- a/content/child/assert_matching_enums.cc
+++ b/content/child/assert_matching_enums.cc
@@ -6,10 +6,12 @@
// from Blink are valid.
#include "base/macros.h"
+#include "content/public/common/mhtml_generation_params.h"
#include "content/public/common/screen_orientation_values.h"
#include "media/base/mime_util.h"
#include "third_party/WebKit/public/platform/WebMimeRegistry.h"
#include "third_party/WebKit/public/platform/modules/screen_orientation/WebScreenOrientationLockType.h"
+#include "third_party/WebKit/public/web/WebFrameSerializerCacheControlPolicy.h"
namespace content {
@@ -44,4 +46,13 @@ STATIC_ASSERT_ENUM(blink::WebMimeRegistry::IsSupported, media::IsSupported);
STATIC_ASSERT_ENUM(blink::WebMimeRegistry::MayBeSupported,
media::MayBeSupported);
+// MHTMLCacheControlPolicy
+STATIC_ASSERT_ENUM(blink::WebFrameSerializerCacheControlPolicy::None,
+ MHTMLCacheControlPolicy::NONE);
+STATIC_ASSERT_ENUM(
+ blink::WebFrameSerializerCacheControlPolicy::FailForNoStoreMainFrame,
+ MHTMLCacheControlPolicy::FAIL_FOR_NO_STORE_MAIN_FRAME);
+STATIC_ASSERT_ENUM(blink::WebFrameSerializerCacheControlPolicy::Last,
+ MHTMLCacheControlPolicy::LAST);
+
} // namespace content
« no previous file with comments | « content/browser/web_contents/web_contents_impl.cc ('k') | content/common/frame_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698