| OLD | NEW |
| (Empty) | |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 module content.mojom; |
| 6 |
| 7 // This interface is only for the sake of browser test to query current power |
| 8 // state observed in remote child processes. |
| 9 interface PowerMonitorTest { |
| 10 // The power state is reported immediatelly if there is already a change |
| 11 // available to notify, otherwise wait until a change happen. Overlapping |
| 12 // calls to QueryNextState are prohibited. |
| 13 QueryNextState() => (bool on_battery_power); |
| 14 }; |
| OLD | NEW |