2015-11-22 09:43:55 +00:00
|
|
|
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
|
|
|
|
* You can obtain one at http://mozilla.org/MPL/2.0/. */
|
|
|
|
|
|
|
|
include protocol PQuota;
|
|
|
|
|
|
|
|
namespace mozilla {
|
|
|
|
namespace dom {
|
|
|
|
namespace quota {
|
|
|
|
|
2017-03-06 17:39:21 +00:00
|
|
|
struct InitResponse
|
|
|
|
{
|
|
|
|
};
|
|
|
|
|
2017-03-06 17:39:33 +00:00
|
|
|
struct InitOriginResponse
|
|
|
|
{
|
|
|
|
bool created;
|
|
|
|
};
|
|
|
|
|
2015-11-22 09:43:55 +00:00
|
|
|
struct ClearOriginResponse
|
|
|
|
{
|
|
|
|
};
|
|
|
|
|
2017-03-06 17:39:25 +00:00
|
|
|
struct ClearDataResponse
|
2015-11-22 09:43:55 +00:00
|
|
|
{
|
|
|
|
};
|
|
|
|
|
|
|
|
struct ClearAllResponse
|
|
|
|
{
|
|
|
|
};
|
|
|
|
|
|
|
|
struct ResetAllResponse
|
|
|
|
{
|
|
|
|
};
|
|
|
|
|
|
|
|
union RequestResponse
|
|
|
|
{
|
|
|
|
nsresult;
|
2017-03-06 17:39:21 +00:00
|
|
|
InitResponse;
|
2017-03-06 17:39:33 +00:00
|
|
|
InitOriginResponse;
|
2015-11-22 09:43:55 +00:00
|
|
|
ClearOriginResponse;
|
2017-03-06 17:39:25 +00:00
|
|
|
ClearDataResponse;
|
2015-11-22 09:43:55 +00:00
|
|
|
ClearAllResponse;
|
|
|
|
ResetAllResponse;
|
|
|
|
};
|
|
|
|
|
|
|
|
protocol PQuotaRequest
|
|
|
|
{
|
|
|
|
manager PQuota;
|
|
|
|
|
|
|
|
child:
|
2016-01-26 21:51:53 +00:00
|
|
|
async __delete__(RequestResponse response);
|
2015-11-22 09:43:55 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
} // namespace quota
|
|
|
|
} // namespace dom
|
|
|
|
} // namespace mozilla
|