| OLD | NEW |
| (Empty) | |
| 1 // Copyright (c) 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef WebAddressSpace_h |
| 6 #define WebAddressSpace_h |
| 7 |
| 8 namespace blink { |
| 9 |
| 10 // The ordering is important, as it's used to determine whether preflights are r
equired, |
| 11 // as per https://mikewest.github.io/cors-rfc1918/#framework |
| 12 enum WebAddressSpace { |
| 13 WebAddressSpaceLocal = 0, // loopback, link local |
| 14 WebAddressSpacePrivate, // Reserved by RFC1918 |
| 15 WebAddressSpacePublic, // Everything else |
| 16 WebAddressSpaceLast = WebAddressSpacePublic |
| 17 }; |
| 18 |
| 19 } // namespace blink |
| 20 |
| 21 #endif // WebAddressSpace_h |
| OLD | NEW |