naiveproxy/services/network/public/interfaces/fetch_api.mojom

21 lines
535 B
Plaintext
Raw Normal View History

2018-01-28 19:30:36 +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 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
};