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

Unified Diff: services/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
Index: services/device/battery/battery_status_manager_win.h
diff --git a/device/battery/battery_status_manager_win.h b/services/device/battery/battery_status_manager_win.h
similarity index 60%
rename from device/battery/battery_status_manager_win.h
rename to services/device/battery/battery_status_manager_win.h
index cb53f1cc6cf482147c1e9c949b12f13da37f5e3a..ca34ad3a0490c646393d9878b4ca4305c3559ca2 100644
--- a/device/battery/battery_status_manager_win.h
+++ b/services/device/battery/battery_status_manager_win.h
@@ -2,12 +2,11 @@
// 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_
+#ifndef SERVICES_DEVICE_BATTERY_BATTERY_STATUS_MANAGER_WIN_H_
+#define SERVICES_DEVICE_BATTERY_BATTERY_STATUS_MANAGER_WIN_H_
#include <windows.h>
-#include "device/battery/battery_export.h"
-#include "device/battery/battery_status.mojom.h"
+#include "services/device/public/interfaces/battery_status.mojom.h"
namespace device {
@@ -18,9 +17,9 @@ enum WinACLineStatus {
};
// Returns WebBatteryStatus corresponding to the given SYSTEM_POWER_STATUS.
-DEVICE_BATTERY_EXPORT mojom::BatteryStatus ComputeWebBatteryStatus(
+mojom::BatteryStatus ComputeWebBatteryStatus(
const SYSTEM_POWER_STATUS& win_status);
} // namespace device
-#endif // DEVICE_BATTERY_BATTERY_STATUS_MANAGER_WIN_H_
+#endif // SERVICES_DEVICE_BATTERY_BATTERY_STATUS_MANAGER_WIN_H_
« no previous file with comments | « services/device/battery/battery_status_manager_mac.cc ('k') | services/device/battery/battery_status_manager_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698