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

Side by Side Diff: third_party/WebKit/Source/web/AssertMatchingEnums.cpp

Issue 1957783002: Replicate Content-Security-Policy into remote frame proxies. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed most CR feedback from mkwst@, alexmos@ and dcheng@. 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 /* 1 /*
2 * Copyright (C) 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2012 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 610 matching lines...) Expand 10 before | Expand all | Expand 10 after
621 STATIC_ASSERT_ENUM(WebReferrerPolicyDefault, ReferrerPolicyDefault); 621 STATIC_ASSERT_ENUM(WebReferrerPolicyDefault, ReferrerPolicyDefault);
622 STATIC_ASSERT_ENUM(WebReferrerPolicyNoReferrerWhenDowngrade, ReferrerPolicyNoRef errerWhenDowngrade); 622 STATIC_ASSERT_ENUM(WebReferrerPolicyNoReferrerWhenDowngrade, ReferrerPolicyNoRef errerWhenDowngrade);
623 STATIC_ASSERT_ENUM(WebReferrerPolicyNever, ReferrerPolicyNever); 623 STATIC_ASSERT_ENUM(WebReferrerPolicyNever, ReferrerPolicyNever);
624 STATIC_ASSERT_ENUM(WebReferrerPolicyOrigin, ReferrerPolicyOrigin); 624 STATIC_ASSERT_ENUM(WebReferrerPolicyOrigin, ReferrerPolicyOrigin);
625 STATIC_ASSERT_ENUM(WebReferrerPolicyOriginWhenCrossOrigin, ReferrerPolicyOriginW henCrossOrigin); 625 STATIC_ASSERT_ENUM(WebReferrerPolicyOriginWhenCrossOrigin, ReferrerPolicyOriginW henCrossOrigin);
626 STATIC_ASSERT_ENUM(WebReferrerPolicyNoReferrerWhenDowngradeOriginWhenCrossOrigin , ReferrerPolicyNoReferrerWhenDowngradeOriginWhenCrossOrigin); 626 STATIC_ASSERT_ENUM(WebReferrerPolicyNoReferrerWhenDowngradeOriginWhenCrossOrigin , ReferrerPolicyNoReferrerWhenDowngradeOriginWhenCrossOrigin);
627 627
628 STATIC_ASSERT_ENUM(WebContentSecurityPolicyTypeReport, ContentSecurityPolicyHead erTypeReport); 628 STATIC_ASSERT_ENUM(WebContentSecurityPolicyTypeReport, ContentSecurityPolicyHead erTypeReport);
629 STATIC_ASSERT_ENUM(WebContentSecurityPolicyTypeEnforce, ContentSecurityPolicyHea derTypeEnforce); 629 STATIC_ASSERT_ENUM(WebContentSecurityPolicyTypeEnforce, ContentSecurityPolicyHea derTypeEnforce);
630 630
631 STATIC_ASSERT_ENUM(WebContentSecurityPolicySourceHTTP, ContentSecurityPolicyHead erSourceHTTP);
632 STATIC_ASSERT_ENUM(WebContentSecurityPolicySourceMeta, ContentSecurityPolicyHead erSourceMeta);
633
631 STATIC_ASSERT_ENUM(WebURLResponse::HTTPVersionUnknown, ResourceResponse::HTTPVer sionUnknown); 634 STATIC_ASSERT_ENUM(WebURLResponse::HTTPVersionUnknown, ResourceResponse::HTTPVer sionUnknown);
632 STATIC_ASSERT_ENUM(WebURLResponse::HTTPVersion_0_9, 635 STATIC_ASSERT_ENUM(WebURLResponse::HTTPVersion_0_9,
633 ResourceResponse::HTTPVersion_0_9); 636 ResourceResponse::HTTPVersion_0_9);
634 STATIC_ASSERT_ENUM(WebURLResponse::HTTPVersion_1_0, 637 STATIC_ASSERT_ENUM(WebURLResponse::HTTPVersion_1_0,
635 ResourceResponse::HTTPVersion_1_0); 638 ResourceResponse::HTTPVersion_1_0);
636 STATIC_ASSERT_ENUM(WebURLResponse::HTTPVersion_1_1, 639 STATIC_ASSERT_ENUM(WebURLResponse::HTTPVersion_1_1,
637 ResourceResponse::HTTPVersion_1_1); 640 ResourceResponse::HTTPVersion_1_1);
638 STATIC_ASSERT_ENUM(WebURLResponse::HTTPVersion_2_0, 641 STATIC_ASSERT_ENUM(WebURLResponse::HTTPVersion_2_0,
639 ResourceResponse::HTTPVersion_2_0); 642 ResourceResponse::HTTPVersion_2_0);
640 643
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
738 STATIC_ASSERT_ENUM(WebFrameLoadType::ReloadBypassingCache, FrameLoadTypeReloadBy passingCache); 741 STATIC_ASSERT_ENUM(WebFrameLoadType::ReloadBypassingCache, FrameLoadTypeReloadBy passingCache);
739 742
740 STATIC_ASSERT_ENUM(FrameDetachType::Remove, WebFrameClient::DetachType::Remove); 743 STATIC_ASSERT_ENUM(FrameDetachType::Remove, WebFrameClient::DetachType::Remove);
741 STATIC_ASSERT_ENUM(FrameDetachType::Swap, WebFrameClient::DetachType::Swap); 744 STATIC_ASSERT_ENUM(FrameDetachType::Swap, WebFrameClient::DetachType::Swap);
742 STATIC_ASSERT_ENUM(FrameDetachType::Remove, WebRemoteFrameClient::DetachType::Re move); 745 STATIC_ASSERT_ENUM(FrameDetachType::Remove, WebRemoteFrameClient::DetachType::Re move);
743 STATIC_ASSERT_ENUM(FrameDetachType::Swap, WebRemoteFrameClient::DetachType::Swap ); 746 STATIC_ASSERT_ENUM(FrameDetachType::Swap, WebRemoteFrameClient::DetachType::Swap );
744 747
745 static_assert(kSerializedScriptValueVersion == SerializedScriptValue::wireFormat Version, ""); 748 static_assert(kSerializedScriptValueVersion == SerializedScriptValue::wireFormat Version, "");
746 749
747 } // namespace blink 750 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698