naiveproxy/services/network/public/interfaces/fetch_api.mojom
2018-01-29 00:30:36 +08:00

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
};