OLD | NEW |
---|---|
1 /* | 1 /* |
2 * Copyright (C) 2011 Google Inc. All rights reserved. | 2 * Copyright (C) 2011 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 22 matching lines...) Expand all Loading... | |
33 | 33 |
34 namespace blink { | 34 namespace blink { |
35 | 35 |
36 enum WebReferrerPolicy { | 36 enum WebReferrerPolicy { |
37 kWebReferrerPolicyAlways, | 37 kWebReferrerPolicyAlways, |
38 kWebReferrerPolicyDefault, | 38 kWebReferrerPolicyDefault, |
39 kWebReferrerPolicyNoReferrerWhenDowngrade, | 39 kWebReferrerPolicyNoReferrerWhenDowngrade, |
40 kWebReferrerPolicyNever, | 40 kWebReferrerPolicyNever, |
41 kWebReferrerPolicyOrigin, | 41 kWebReferrerPolicyOrigin, |
42 kWebReferrerPolicyOriginWhenCrossOrigin, | 42 kWebReferrerPolicyOriginWhenCrossOrigin, |
43 kWebReferrerPolicySameOrigin, | |
jochen (gone - plz use gerrit)
2017/06/06 14:51:27
these should go at the end, as we write the static
estark
2017/06/06 22:41:00
Ah, ok, good to know. Switched the order, and adde
| |
44 kWebReferrerPolicyStrictOrigin, | |
45 // This policy corresponds to strict-origin-when-cross-origin. | |
46 // TODO(estark): rename to match the spec. | |
43 kWebReferrerPolicyNoReferrerWhenDowngradeOriginWhenCrossOrigin, | 47 kWebReferrerPolicyNoReferrerWhenDowngradeOriginWhenCrossOrigin, |
44 kWebReferrerPolicyLast = | 48 kWebReferrerPolicyLast = |
45 kWebReferrerPolicyNoReferrerWhenDowngradeOriginWhenCrossOrigin | 49 kWebReferrerPolicyNoReferrerWhenDowngradeOriginWhenCrossOrigin |
46 }; | 50 }; |
47 | 51 |
48 } // namespace blink | 52 } // namespace blink |
49 | 53 |
50 #endif | 54 #endif |
OLD | NEW |