chromium/third_party/blink/public/mojom/loader/mhtml_load_result.mojom

// Copyright 2018 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

module blink.mojom;

// Represents the possible outcomes of an attempt to load an MHTML file. This
// enum is used for UMA logging and must by kept in sync with MHTMLLoadResult in
// tools/metrics/histograms/enums.xml.
enum MHTMLLoadResult {
  kSuccess = 0,
  kEmptyFile = 1,
  kUrlSchemeNotAllowed = 2,
  kInvalidArchive = 3,
  kMissingMainResource = 4
};