mirror of
https://github.com/klzgrad/naiveproxy.git
synced 2024-12-01 09:46:09 +03:00
18 lines
631 B
Plaintext
18 lines
631 B
Plaintext
|
// 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
|
||
|
};
|