blob: c000867a495fd106a597443276e6d8f2346a99cf [file] [log] [blame]
// 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 blink.mojom;
enum StorageType {
kTemporary,
kPersistent,
kSyncable,
kQuotaNotManaged,
kUnknown,
};
// These values need to match core/dom/exception_code.h.
enum QuotaStatusCode {
kOk = 0,
kErrorNotSupported = 9, // NOT_SUPPORTED_ERR
kErrorInvalidModification = 13, // INVALID_MODIFICATION_ERR
kErrorInvalidAccess = 15, // INVALID_ACCESS_ERR
kErrorAbort = 20, // ABORT_ERR
kUnknown = -1,
};