Index: device/battery/battery_status.mojom |
diff --git a/content/test/data/web_ui_test_mojo_bindings.mojom b/device/battery/battery_status.mojom |
similarity index 51% |
copy from content/test/data/web_ui_test_mojo_bindings.mojom |
copy to device/battery/battery_status.mojom |
index 45f291fdb4fc614cd291a5eb3be324c292fe4083..6e9ba4654933864c9f8f2d231fd2da6f0ecb1dbb 100644 |
--- a/content/test/data/web_ui_test_mojo_bindings.mojom |
+++ b/device/battery/battery_status.mojom |
@@ -2,15 +2,13 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-module content { |
+module device { |
-[Client=RendererTarget] |
-interface BrowserTarget { |
- PingResponse(); |
-}; |
- |
-interface RendererTarget { |
- Ping(); |
+struct BatteryStatus { |
+ bool charging = true; |
+ double charging_time = 0.0; |
+ double discharging_time = double.INFINITY; |
+ double level = 1.0; |
}; |
} |