blob: 9eaa02ef32bf01f621c4538934bd1f48d92f7213 [file] [log] [blame]
// Copyright 2020 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;
// This enum represents the possible values for the X-Frame-Options header:
// https://html.spec.whatwg.org/multipage/browsing-the-web.html#the-x-frame-options-header.
enum XFrameOptionsValue {
kNone, // No XFO header is present.
kDeny, // XFO: DENY
kSameOrigin, // XFO: SAMEORIGIN
kAllowAll, // XFO: ALLOWALL
kInvalid, // XFO: [anything other than DENY, SAMEORIGIN, or ALLOWALL]
kConflict // Multiple XFO headers are present, with distinct values.
};