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

Unified Diff: device/battery/battery_monitor.mojom

Issue 2818673003: [DeviceService] Expose battery monitoring solely via the Device Service (Closed)
Patch Set: Java file format change Created 3 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « device/battery/battery_export.h ('k') | device/battery/battery_monitor_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/battery/battery_monitor.mojom
diff --git a/device/battery/battery_monitor.mojom b/device/battery/battery_monitor.mojom
deleted file mode 100644
index c5c160090877c17798ad8e52f865e020a6a810f2..0000000000000000000000000000000000000000
--- a/device/battery/battery_monitor.mojom
+++ /dev/null
@@ -1,15 +0,0 @@
-// Copyright 2014 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.
-
-module device.mojom;
-
-import "device/battery/battery_status.mojom";
-
-interface BatteryMonitor {
- // Battery status is reported once it changes or immediately if this is the
- // first call to QueryNextStatus on this instance. QueryNextStatus calls may
- // be throttled by the service. Overlapping calls to QueryNextStatus are
- // prohibited and will be treated as a connection error.
- QueryNextStatus() => (BatteryStatus status);
-};
« no previous file with comments | « device/battery/battery_export.h ('k') | device/battery/battery_monitor_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698