// chrome/browser/resource_coordinator/lifecycle_unit_state.mojom-webui.ts is auto generated by mojom_bindings_generator.py, do not edit
// Copyright 2020 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import { mojo } from '//resources/mojo/mojo/public/js/bindings.js';
export const LifecycleUnitStateSpec = { $: mojo.internal.Enum() };
export var LifecycleUnitState;
(function (LifecycleUnitState) {
    LifecycleUnitState[LifecycleUnitState["MIN_VALUE"] = 0] = "MIN_VALUE";
    LifecycleUnitState[LifecycleUnitState["MAX_VALUE"] = 5] = "MAX_VALUE";
    LifecycleUnitState[LifecycleUnitState["ACTIVE"] = 0] = "ACTIVE";
    LifecycleUnitState[LifecycleUnitState["FROZEN"] = 3] = "FROZEN";
    LifecycleUnitState[LifecycleUnitState["DISCARDED"] = 5] = "DISCARDED";
})(LifecycleUnitState || (LifecycleUnitState = {}));
export const LifecycleUnitLoadingStateSpec = { $: mojo.internal.Enum() };
export var LifecycleUnitLoadingState;
(function (LifecycleUnitLoadingState) {
    LifecycleUnitLoadingState[LifecycleUnitLoadingState["MIN_VALUE"] = 0] = "MIN_VALUE";
    LifecycleUnitLoadingState[LifecycleUnitLoadingState["MAX_VALUE"] = 2] = "MAX_VALUE";
    LifecycleUnitLoadingState[LifecycleUnitLoadingState["UNLOADED"] = 0] = "UNLOADED";
    LifecycleUnitLoadingState[LifecycleUnitLoadingState["LOADING"] = 1] = "LOADING";
    LifecycleUnitLoadingState[LifecycleUnitLoadingState["LOADED"] = 2] = "LOADED";
})(LifecycleUnitLoadingState || (LifecycleUnitLoadingState = {}));
export const LifecycleUnitDiscardReasonSpec = { $: mojo.internal.Enum() };
export var LifecycleUnitDiscardReason;
(function (LifecycleUnitDiscardReason) {
    LifecycleUnitDiscardReason[LifecycleUnitDiscardReason["MIN_VALUE"] = 0] = "MIN_VALUE";
    LifecycleUnitDiscardReason[LifecycleUnitDiscardReason["MAX_VALUE"] = 4] = "MAX_VALUE";
    LifecycleUnitDiscardReason[LifecycleUnitDiscardReason["EXTERNAL"] = 0] = "EXTERNAL";
    LifecycleUnitDiscardReason[LifecycleUnitDiscardReason["URGENT"] = 1] = "URGENT";
    LifecycleUnitDiscardReason[LifecycleUnitDiscardReason["PROACTIVE"] = 2] = "PROACTIVE";
    LifecycleUnitDiscardReason[LifecycleUnitDiscardReason["SUGGESTED"] = 3] = "SUGGESTED";
    LifecycleUnitDiscardReason[LifecycleUnitDiscardReason["FROZEN_WITH_GROWING_MEMORY"] = 4] = "FROZEN_WITH_GROWING_MEMORY";
})(LifecycleUnitDiscardReason || (LifecycleUnitDiscardReason = {}));
