| 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 147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 884 | 886 |
| 885 // This ensures that the version number published in | 887 // This ensures that the version number published in |
| 886 // WebSerializedScriptValueVersion.h matches the serializer's understanding. | 888 // WebSerializedScriptValueVersion.h matches the serializer's understanding. |
| 887 // TODO(jbroman): Fix this to also account for the V8-side version. See | 889 // TODO(jbroman): Fix this to also account for the V8-side version. See |
| 888 // https://crbug.com/704293. | 890 // https://crbug.com/704293. |
| 889 static_assert(kSerializedScriptValueVersion == | 891 static_assert(kSerializedScriptValueVersion == |
| 890 SerializedScriptValue::kWireFormatVersion, | 892 SerializedScriptValue::kWireFormatVersion, |
| 891 "Update WebSerializedScriptValueVersion.h."); | 893 "Update WebSerializedScriptValueVersion.h."); |
| 892 | 894 |
| 893 } // namespace blink | 895 } // namespace blink |
| OLD | NEW |