OLD | NEW |
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 706 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
717 SpeechRecognitionError::kErrorCodeLanguageNotSupported); | 717 SpeechRecognitionError::kErrorCodeLanguageNotSupported); |
718 | 718 |
719 STATIC_ASSERT_ENUM(kWebReferrerPolicyAlways, kReferrerPolicyAlways); | 719 STATIC_ASSERT_ENUM(kWebReferrerPolicyAlways, kReferrerPolicyAlways); |
720 STATIC_ASSERT_ENUM(kWebReferrerPolicyDefault, kReferrerPolicyDefault); | 720 STATIC_ASSERT_ENUM(kWebReferrerPolicyDefault, kReferrerPolicyDefault); |
721 STATIC_ASSERT_ENUM(kWebReferrerPolicyNoReferrerWhenDowngrade, | 721 STATIC_ASSERT_ENUM(kWebReferrerPolicyNoReferrerWhenDowngrade, |
722 kReferrerPolicyNoReferrerWhenDowngrade); | 722 kReferrerPolicyNoReferrerWhenDowngrade); |
723 STATIC_ASSERT_ENUM(kWebReferrerPolicyNever, kReferrerPolicyNever); | 723 STATIC_ASSERT_ENUM(kWebReferrerPolicyNever, kReferrerPolicyNever); |
724 STATIC_ASSERT_ENUM(kWebReferrerPolicyOrigin, kReferrerPolicyOrigin); | 724 STATIC_ASSERT_ENUM(kWebReferrerPolicyOrigin, kReferrerPolicyOrigin); |
725 STATIC_ASSERT_ENUM(kWebReferrerPolicyOriginWhenCrossOrigin, | 725 STATIC_ASSERT_ENUM(kWebReferrerPolicyOriginWhenCrossOrigin, |
726 kReferrerPolicyOriginWhenCrossOrigin); | 726 kReferrerPolicyOriginWhenCrossOrigin); |
| 727 STATIC_ASSERT_ENUM(kWebReferrerPolicySameOrigin, kReferrerPolicySameOrigin); |
| 728 STATIC_ASSERT_ENUM(kWebReferrerPolicyStrictOrigin, kReferrerPolicyStrictOrigin); |
727 STATIC_ASSERT_ENUM( | 729 STATIC_ASSERT_ENUM( |
728 kWebReferrerPolicyNoReferrerWhenDowngradeOriginWhenCrossOrigin, | 730 kWebReferrerPolicyNoReferrerWhenDowngradeOriginWhenCrossOrigin, |
729 kReferrerPolicyNoReferrerWhenDowngradeOriginWhenCrossOrigin); | 731 kReferrerPolicyNoReferrerWhenDowngradeOriginWhenCrossOrigin); |
730 | 732 |
731 STATIC_ASSERT_ENUM(kWebContentSecurityPolicyTypeReport, | 733 STATIC_ASSERT_ENUM(kWebContentSecurityPolicyTypeReport, |
732 kContentSecurityPolicyHeaderTypeReport); | 734 kContentSecurityPolicyHeaderTypeReport); |
733 STATIC_ASSERT_ENUM(kWebContentSecurityPolicyTypeEnforce, | 735 STATIC_ASSERT_ENUM(kWebContentSecurityPolicyTypeEnforce, |
734 kContentSecurityPolicyHeaderTypeEnforce); | 736 kContentSecurityPolicyHeaderTypeEnforce); |
735 | 737 |
736 STATIC_ASSERT_ENUM(kWebContentSecurityPolicySourceHTTP, | 738 STATIC_ASSERT_ENUM(kWebContentSecurityPolicySourceHTTP, |
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
886 | 888 |
887 // This ensures that the version number published in | 889 // This ensures that the version number published in |
888 // WebSerializedScriptValueVersion.h matches the serializer's understanding. | 890 // WebSerializedScriptValueVersion.h matches the serializer's understanding. |
889 // TODO(jbroman): Fix this to also account for the V8-side version. See | 891 // TODO(jbroman): Fix this to also account for the V8-side version. See |
890 // https://crbug.com/704293. | 892 // https://crbug.com/704293. |
891 static_assert(kSerializedScriptValueVersion == | 893 static_assert(kSerializedScriptValueVersion == |
892 SerializedScriptValue::kWireFormatVersion, | 894 SerializedScriptValue::kWireFormatVersion, |
893 "Update WebSerializedScriptValueVersion.h."); | 895 "Update WebSerializedScriptValueVersion.h."); |
894 | 896 |
895 } // namespace blink | 897 } // namespace blink |
OLD | NEW |