| Index: third_party/WebKit/public/platform/WebAddressSpace.h
|
| diff --git a/third_party/WebKit/public/platform/WebAddressSpace.h b/third_party/WebKit/public/platform/WebAddressSpace.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..e5b5965d22c8e5b6a87533d036c21004110a0f16
|
| --- /dev/null
|
| +++ b/third_party/WebKit/public/platform/WebAddressSpace.h
|
| @@ -0,0 +1,21 @@
|
| +// Copyright (c) 2016 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#ifndef WebAddressSpace_h
|
| +#define WebAddressSpace_h
|
| +
|
| +namespace blink {
|
| +
|
| +// The ordering is important, as it's used to determine whether preflights are required,
|
| +// as per https://mikewest.github.io/cors-rfc1918/#framework
|
| +enum WebAddressSpace {
|
| + WebAddressSpaceLocal = 0, // loopback, link local
|
| + WebAddressSpacePrivate, // Reserved by RFC1918
|
| + WebAddressSpacePublic, // Everything else
|
| + WebAddressSpaceLast = WebAddressSpacePublic
|
| +};
|
| +
|
| +} // namespace blink
|
| +
|
| +#endif // WebAddressSpace_h
|
|
|