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

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

Issue 2190183002: Forward CSP violation reporting from RenderFrameProxy to RenderFrameImpl. Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove no longer applicable TODO and early exit from reportViolation method. Created 4 years, 4 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 621 matching lines...) Expand 10 before | Expand all | Expand 10 after
632 STATIC_ASSERT_ENUM(WebReferrerPolicyOrigin, ReferrerPolicyOrigin); 632 STATIC_ASSERT_ENUM(WebReferrerPolicyOrigin, ReferrerPolicyOrigin);
633 STATIC_ASSERT_ENUM(WebReferrerPolicyOriginWhenCrossOrigin, ReferrerPolicyOriginW henCrossOrigin); 633 STATIC_ASSERT_ENUM(WebReferrerPolicyOriginWhenCrossOrigin, ReferrerPolicyOriginW henCrossOrigin);
634 STATIC_ASSERT_ENUM(WebReferrerPolicyNoReferrerWhenDowngradeOriginWhenCrossOrigin , ReferrerPolicyNoReferrerWhenDowngradeOriginWhenCrossOrigin); 634 STATIC_ASSERT_ENUM(WebReferrerPolicyNoReferrerWhenDowngradeOriginWhenCrossOrigin , ReferrerPolicyNoReferrerWhenDowngradeOriginWhenCrossOrigin);
635 635
636 STATIC_ASSERT_ENUM(WebContentSecurityPolicyTypeReport, ContentSecurityPolicyHead erTypeReport); 636 STATIC_ASSERT_ENUM(WebContentSecurityPolicyTypeReport, ContentSecurityPolicyHead erTypeReport);
637 STATIC_ASSERT_ENUM(WebContentSecurityPolicyTypeEnforce, ContentSecurityPolicyHea derTypeEnforce); 637 STATIC_ASSERT_ENUM(WebContentSecurityPolicyTypeEnforce, ContentSecurityPolicyHea derTypeEnforce);
638 638
639 STATIC_ASSERT_ENUM(WebContentSecurityPolicySourceHTTP, ContentSecurityPolicyHead erSourceHTTP); 639 STATIC_ASSERT_ENUM(WebContentSecurityPolicySourceHTTP, ContentSecurityPolicyHead erSourceHTTP);
640 STATIC_ASSERT_ENUM(WebContentSecurityPolicySourceMeta, ContentSecurityPolicyHead erSourceMeta); 640 STATIC_ASSERT_ENUM(WebContentSecurityPolicySourceMeta, ContentSecurityPolicyHead erSourceMeta);
641 641
642 STATIC_ASSERT_ENUM(WebContentSecurityPolicyInlineViolation, ContentSecurityPolic y::InlineViolation);
643 STATIC_ASSERT_ENUM(WebContentSecurityPolicyEvalViolation, ContentSecurityPolicy: :EvalViolation);
644 STATIC_ASSERT_ENUM(WebContentSecurityPolicyUrlViolation, ContentSecurityPolicy:: URLViolation);
645
642 STATIC_ASSERT_ENUM(WebURLResponse::HTTPVersionUnknown, ResourceResponse::HTTPVer sionUnknown); 646 STATIC_ASSERT_ENUM(WebURLResponse::HTTPVersionUnknown, ResourceResponse::HTTPVer sionUnknown);
643 STATIC_ASSERT_ENUM(WebURLResponse::HTTPVersion_0_9, 647 STATIC_ASSERT_ENUM(WebURLResponse::HTTPVersion_0_9,
644 ResourceResponse::HTTPVersion_0_9); 648 ResourceResponse::HTTPVersion_0_9);
645 STATIC_ASSERT_ENUM(WebURLResponse::HTTPVersion_1_0, 649 STATIC_ASSERT_ENUM(WebURLResponse::HTTPVersion_1_0,
646 ResourceResponse::HTTPVersion_1_0); 650 ResourceResponse::HTTPVersion_1_0);
647 STATIC_ASSERT_ENUM(WebURLResponse::HTTPVersion_1_1, 651 STATIC_ASSERT_ENUM(WebURLResponse::HTTPVersion_1_1,
648 ResourceResponse::HTTPVersion_1_1); 652 ResourceResponse::HTTPVersion_1_1);
649 STATIC_ASSERT_ENUM(WebURLResponse::HTTPVersion_2_0, 653 STATIC_ASSERT_ENUM(WebURLResponse::HTTPVersion_2_0,
650 ResourceResponse::HTTPVersion_2_0); 654 ResourceResponse::HTTPVersion_2_0);
651 655
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
754 STATIC_ASSERT_ENUM(FrameDetachType::Swap, WebRemoteFrameClient::DetachType::Swap ); 758 STATIC_ASSERT_ENUM(FrameDetachType::Swap, WebRemoteFrameClient::DetachType::Swap );
755 759
756 STATIC_ASSERT_ENUM(WebSettings::ProgressBarCompletion::LoadEvent, ProgressBarCom pletion::LoadEvent); 760 STATIC_ASSERT_ENUM(WebSettings::ProgressBarCompletion::LoadEvent, ProgressBarCom pletion::LoadEvent);
757 STATIC_ASSERT_ENUM(WebSettings::ProgressBarCompletion::ResourcesBeforeDCL, Progr essBarCompletion::ResourcesBeforeDCL); 761 STATIC_ASSERT_ENUM(WebSettings::ProgressBarCompletion::ResourcesBeforeDCL, Progr essBarCompletion::ResourcesBeforeDCL);
758 STATIC_ASSERT_ENUM(WebSettings::ProgressBarCompletion::DOMContentLoaded, Progres sBarCompletion::DOMContentLoaded); 762 STATIC_ASSERT_ENUM(WebSettings::ProgressBarCompletion::DOMContentLoaded, Progres sBarCompletion::DOMContentLoaded);
759 STATIC_ASSERT_ENUM(WebSettings::ProgressBarCompletion::ResourcesBeforeDCLAndSame OriginIFrames, ProgressBarCompletion::ResourcesBeforeDCLAndSameOriginIFrames); 763 STATIC_ASSERT_ENUM(WebSettings::ProgressBarCompletion::ResourcesBeforeDCLAndSame OriginIFrames, ProgressBarCompletion::ResourcesBeforeDCLAndSameOriginIFrames);
760 764
761 static_assert(kSerializedScriptValueVersion == SerializedScriptValue::wireFormat Version, ""); 765 static_assert(kSerializedScriptValueVersion == SerializedScriptValue::wireFormat Version, "");
762 766
763 } // namespace blink 767 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698