Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(100)

Side by Side Diff: content/shell/common/power_monitor_test.mojom

Issue 2870373002: [DeviceService] Add end-to-end browsertest for PowerMonitor (Closed)
Patch Set: Address comments from jam@ and blundell@ Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698