naiveproxy/third_party/WebKit/public/platform/address_space.mojom

18 lines
631 B
Plaintext
Raw Normal View History

2018-01-28 21:32:06 +03:00
// Copyright 2017 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.
module blink.mojom;
// Represents AddressSpace from the "CORS and RFC1918" spec. The ordering is
// important, as it's used to determine whether preflights are required, as per
// https://wicg.github.io/cors-rfc1918/#framework
//
// TODO(darin): Update all WebAddressSpace consumers to use this type instead,
// and remove the typemap.
enum AddressSpace {
kLocal, // loopback, link local
kPrivate, // Reserved by RFC1918
kPublic, // Everything else
};