| // 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. |
| |
| // https://www.w3.org/TR/2012/WD-quota-api-20120703/#storageusagecallback-callback |
| callback StorageUsageCallback = void (unsigned long long currentUsageInBytes, unsigned long long currentQuotaInBytes); |
| |
| // https://www.w3.org/TR/2012/WD-quota-api-20120703/#storagequotacallback-callback |
| callback StorageQuotaCallback = void (unsigned long long grantedQuotaInBytes); |
| |
| // https://www.w3.org/TR/2012/WD-quota-api-20120703/#storageerrorcallback-callback |
| callback StorageErrorCallback = void (DOMError error); |