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