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

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: Sanitize report endpoints from IPC against actual CSP contents. 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 615 matching lines...) Expand 10 before | Expand all | Expand 10 after
626 STATIC_ASSERT_ENUM(WebReferrerPolicyOrigin, ReferrerPolicyOrigin); 626 STATIC_ASSERT_ENUM(WebReferrerPolicyOrigin, ReferrerPolicyOrigin);
627 STATIC_ASSERT_ENUM(WebReferrerPolicyOriginWhenCrossOrigin, ReferrerPolicyOriginW henCrossOrigin); 627 STATIC_ASSERT_ENUM(WebReferrerPolicyOriginWhenCrossOrigin, ReferrerPolicyOriginW henCrossOrigin);
628 STATIC_ASSERT_ENUM(WebReferrerPolicyNoReferrerWhenDowngradeOriginWhenCrossOrigin , ReferrerPolicyNoReferrerWhenDowngradeOriginWhenCrossOrigin); 628 STATIC_ASSERT_ENUM(WebReferrerPolicyNoReferrerWhenDowngradeOriginWhenCrossOrigin , ReferrerPolicyNoReferrerWhenDowngradeOriginWhenCrossOrigin);
629 629
630 STATIC_ASSERT_ENUM(WebContentSecurityPolicyTypeReport, ContentSecurityPolicyHead erTypeReport); 630 STATIC_ASSERT_ENUM(WebContentSecurityPolicyTypeReport, ContentSecurityPolicyHead erTypeReport);
631 STATIC_ASSERT_ENUM(WebContentSecurityPolicyTypeEnforce, ContentSecurityPolicyHea derTypeEnforce); 631 STATIC_ASSERT_ENUM(WebContentSecurityPolicyTypeEnforce, ContentSecurityPolicyHea derTypeEnforce);
632 632
633 STATIC_ASSERT_ENUM(WebContentSecurityPolicySourceHTTP, ContentSecurityPolicyHead erSourceHTTP); 633 STATIC_ASSERT_ENUM(WebContentSecurityPolicySourceHTTP, ContentSecurityPolicyHead erSourceHTTP);
634 STATIC_ASSERT_ENUM(WebContentSecurityPolicySourceMeta, ContentSecurityPolicyHead erSourceMeta); 634 STATIC_ASSERT_ENUM(WebContentSecurityPolicySourceMeta, ContentSecurityPolicyHead erSourceMeta);
635 635
636 STATIC_ASSERT_ENUM(WebContentSecurityPolicyInlineViolation, ContentSecurityPolic y::InlineViolation);
637 STATIC_ASSERT_ENUM(WebContentSecurityPolicyEvalViolation, ContentSecurityPolicy: :EvalViolation);
638 STATIC_ASSERT_ENUM(WebContentSecurityPolicyUrlViolation, ContentSecurityPolicy:: URLViolation);
639
636 STATIC_ASSERT_ENUM(WebURLResponse::HTTPVersionUnknown, ResourceResponse::HTTPVer sionUnknown); 640 STATIC_ASSERT_ENUM(WebURLResponse::HTTPVersionUnknown, ResourceResponse::HTTPVer sionUnknown);
637 STATIC_ASSERT_ENUM(WebURLResponse::HTTPVersion_0_9, 641 STATIC_ASSERT_ENUM(WebURLResponse::HTTPVersion_0_9,
638 ResourceResponse::HTTPVersion_0_9); 642 ResourceResponse::HTTPVersion_0_9);
639 STATIC_ASSERT_ENUM(WebURLResponse::HTTPVersion_1_0, 643 STATIC_ASSERT_ENUM(WebURLResponse::HTTPVersion_1_0,
640 ResourceResponse::HTTPVersion_1_0); 644 ResourceResponse::HTTPVersion_1_0);
641 STATIC_ASSERT_ENUM(WebURLResponse::HTTPVersion_1_1, 645 STATIC_ASSERT_ENUM(WebURLResponse::HTTPVersion_1_1,
642 ResourceResponse::HTTPVersion_1_1); 646 ResourceResponse::HTTPVersion_1_1);
643 STATIC_ASSERT_ENUM(WebURLResponse::HTTPVersion_2_0, 647 STATIC_ASSERT_ENUM(WebURLResponse::HTTPVersion_2_0,
644 ResourceResponse::HTTPVersion_2_0); 648 ResourceResponse::HTTPVersion_2_0);
645 649
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
748 STATIC_ASSERT_ENUM(FrameDetachType::Swap, WebRemoteFrameClient::DetachType::Swap ); 752 STATIC_ASSERT_ENUM(FrameDetachType::Swap, WebRemoteFrameClient::DetachType::Swap );
749 753
750 STATIC_ASSERT_ENUM(WebSettings::ProgressBarCompletion::LoadEvent, ProgressBarCom pletion::LoadEvent); 754 STATIC_ASSERT_ENUM(WebSettings::ProgressBarCompletion::LoadEvent, ProgressBarCom pletion::LoadEvent);
751 STATIC_ASSERT_ENUM(WebSettings::ProgressBarCompletion::ResourcesBeforeDCL, Progr essBarCompletion::ResourcesBeforeDCL); 755 STATIC_ASSERT_ENUM(WebSettings::ProgressBarCompletion::ResourcesBeforeDCL, Progr essBarCompletion::ResourcesBeforeDCL);
752 STATIC_ASSERT_ENUM(WebSettings::ProgressBarCompletion::DOMContentLoaded, Progres sBarCompletion::DOMContentLoaded); 756 STATIC_ASSERT_ENUM(WebSettings::ProgressBarCompletion::DOMContentLoaded, Progres sBarCompletion::DOMContentLoaded);
753 STATIC_ASSERT_ENUM(WebSettings::ProgressBarCompletion::ResourcesBeforeDCLAndSame OriginIFrames, ProgressBarCompletion::ResourcesBeforeDCLAndSameOriginIFrames); 757 STATIC_ASSERT_ENUM(WebSettings::ProgressBarCompletion::ResourcesBeforeDCLAndSame OriginIFrames, ProgressBarCompletion::ResourcesBeforeDCLAndSameOriginIFrames);
754 758
755 static_assert(kSerializedScriptValueVersion == SerializedScriptValue::wireFormat Version, ""); 759 static_assert(kSerializedScriptValueVersion == SerializedScriptValue::wireFormat Version, "");
756 760
757 } // namespace blink 761 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698