blob: 6df19291a5082595eee5bbc817aeb328102bd171 [file] [log] [blame]
// Copyright 2018 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.
goog.provide('device.mojom.BatteryMonitor');
goog.provide('device.mojom.BatteryMonitorImpl');
goog.provide('device.mojom.BatteryMonitorPtr');
/**
* @const
* @type { !mojo.Interface };
*/
device.mojom.BatteryMonitor;
/** @interface */
device.mojom.BatteryMonitorImpl = class {
/**
* @return {Promise}
*/
queryNextStatus() {}
};
/**
* @implements { mojo.InterfacePtr }
* @implements { device.mojom.BatteryMonitorImpl }
*/
device.mojom.BatteryMonitorPtr = class {
/**
* @return {Promise}
*/
queryNextStatus() {}
};
goog.provide('device.mojom.BatteryMonitor_QueryNextStatus_Params');
device.mojom.BatteryMonitor_QueryNextStatus_Params = class {
constructor() {
}
};
goog.provide('device.mojom.BatteryMonitor_QueryNextStatus_ResponseParams');
device.mojom.BatteryMonitor_QueryNextStatus_ResponseParams = class {
constructor() {
/** @type { !device.mojom.BatteryStatus } */
this.status;
}
};