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

Side by Side 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: Moar 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // Use this file to assert that *_list.h enums that are meant to do the bridge 5 // Use this file to assert that *_list.h enums that are meant to do the bridge
6 // from Blink are valid. 6 // from Blink are valid.
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "content/public/common/mhtml_generation_params.h" 9 #include "content/public/common/mhtml_generation_params.h"
10 #include "content/public/common/screen_orientation_values.h" 10 #include "content/public/common/screen_orientation_values.h"
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 STATIC_ASSERT_ENUM(blink::WebMimeRegistry::IsSupported, media::IsSupported); 45 STATIC_ASSERT_ENUM(blink::WebMimeRegistry::IsSupported, media::IsSupported);
46 STATIC_ASSERT_ENUM(blink::WebMimeRegistry::MayBeSupported, 46 STATIC_ASSERT_ENUM(blink::WebMimeRegistry::MayBeSupported,
47 media::MayBeSupported); 47 media::MayBeSupported);
48 48
49 // MHTMLCacheControlPolicy 49 // MHTMLCacheControlPolicy
50 STATIC_ASSERT_ENUM(blink::WebFrameSerializerCacheControlPolicy::None, 50 STATIC_ASSERT_ENUM(blink::WebFrameSerializerCacheControlPolicy::None,
51 MHTMLCacheControlPolicy::NONE); 51 MHTMLCacheControlPolicy::NONE);
52 STATIC_ASSERT_ENUM( 52 STATIC_ASSERT_ENUM(
53 blink::WebFrameSerializerCacheControlPolicy::FailForNoStoreMainFrame, 53 blink::WebFrameSerializerCacheControlPolicy::FailForNoStoreMainFrame,
54 MHTMLCacheControlPolicy::FAIL_FOR_NO_STORE_MAIN_FRAME); 54 MHTMLCacheControlPolicy::FAIL_FOR_NO_STORE_MAIN_FRAME);
55 STATIC_ASSERT_ENUM(
56 blink::WebFrameSerializerCacheControlPolicy::
57 SkipAnyFrameOrResourceMarkedNoStore,
58 MHTMLCacheControlPolicy::SKIP_ANY_FRAME_OR_RESOURCE_MARKED_NO_STORE);
59
55 STATIC_ASSERT_ENUM(blink::WebFrameSerializerCacheControlPolicy::Last, 60 STATIC_ASSERT_ENUM(blink::WebFrameSerializerCacheControlPolicy::Last,
56 MHTMLCacheControlPolicy::LAST); 61 MHTMLCacheControlPolicy::LAST);
57 62
58 } // namespace content 63 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698