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

Unified Diff: content/browser/battery_status/battery_status_manager_win.h

Issue 481493002: Revert of Battery Status API: implementation for Windows. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 4 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 | « no previous file | content/browser/battery_status/battery_status_manager_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/battery_status/battery_status_manager_win.h
diff --git a/content/browser/battery_status/battery_status_manager_win.h b/content/browser/battery_status/battery_status_manager_win.h
deleted file mode 100644
index 5169e4bf8c8e66193711562010d74e019d0c092f..0000000000000000000000000000000000000000
--- a/content/browser/battery_status/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 CHROME_BROWSER_BATTERY_STATUS_BATTERY_STATUS_MANAGER_WIN_H_
-#define CHROME_BROWSER_BATTERY_STATUS_BATTERY_STATUS_MANAGER_WIN_H_
-
-#include <windows.h>
-#include "content/common/content_export.h"
-#include "third_party/WebKit/public/platform/WebBatteryStatus.h"
-
-namespace content {
-
-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.
-CONTENT_EXPORT blink::WebBatteryStatus ComputeWebBatteryStatus(
- const SYSTEM_POWER_STATUS& win_status);
-
-} // namespace content
-
-#endif // CHROME_BROWSER_BATTERY_STATUS_BATTERY_STATUS_MANAGER_WIN_H_
« no previous file with comments | « no previous file | content/browser/battery_status/battery_status_manager_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698