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

Unified Diff: device/battery/battery_status_manager_win.h

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_status_manager_mac.cc ('k') | device/battery/battery_status_manager_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/battery/battery_status_manager_win.h
diff --git a/device/battery/battery_status_manager_win.h b/device/battery/battery_status_manager_win.h
deleted file mode 100644
index cb53f1cc6cf482147c1e9c949b12f13da37f5e3a..0000000000000000000000000000000000000000
--- a/device/battery/battery_status_manager_win.h
+++ /dev/null
@@ -1,26 +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.
-
-#ifndef DEVICE_BATTERY_BATTERY_STATUS_MANAGER_WIN_H_
-#define DEVICE_BATTERY_BATTERY_STATUS_MANAGER_WIN_H_
-
-#include <windows.h>
-#include "device/battery/battery_export.h"
-#include "device/battery/battery_status.mojom.h"
-
-namespace device {
-
-enum WinACLineStatus {
- WIN_AC_LINE_STATUS_OFFLINE = 0,
- WIN_AC_LINE_STATUS_ONLINE = 1,
- WIN_AC_LINE_STATUS_UNKNOWN = 255,
-};
-
-// Returns WebBatteryStatus corresponding to the given SYSTEM_POWER_STATUS.
-DEVICE_BATTERY_EXPORT mojom::BatteryStatus ComputeWebBatteryStatus(
- const SYSTEM_POWER_STATUS& win_status);
-
-} // namespace device
-
-#endif // DEVICE_BATTERY_BATTERY_STATUS_MANAGER_WIN_H_
« no previous file with comments | « device/battery/battery_status_manager_mac.cc ('k') | device/battery/battery_status_manager_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698