mirror of
https://github.com/klzgrad/naiveproxy.git
synced 2024-12-01 01:36:09 +03:00
21 lines
535 B
Plaintext
21 lines
535 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 network.mojom;
|
|
|
|
// Corresponds to response types from the Fetch spec:
|
|
// https://fetch.spec.whatwg.org/#concept-response-type
|
|
//
|
|
// This enum is used in histograms. Append-only.
|
|
enum FetchResponseType {
|
|
kBasic,
|
|
kCORS,
|
|
kDefault,
|
|
kError,
|
|
kOpaque,
|
|
kOpaqueRedirect,
|
|
// Add a new type here, then update kLast and enums.xml.
|
|
kLast = kOpaqueRedirect
|
|
};
|