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

Unified Diff: trunk/src/content/browser/battery_status/battery_status_manager_linux.h

Issue 472643002: Revert 289372 "Battery Status API: implementation for Linux." (Closed) Base URL: svn://svn.chromium.org/chrome/
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
Index: trunk/src/content/browser/battery_status/battery_status_manager_linux.h
===================================================================
--- trunk/src/content/browser/battery_status/battery_status_manager_linux.h (revision 289378)
+++ trunk/src/content/browser/battery_status/battery_status_manager_linux.h (working copy)
@@ -1,34 +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_LINUX_H_
-#define CHROME_BROWSER_BATTERY_STATUS_BATTERY_STATUS_MANAGER_LINUX_H_
-
-#include "content/common/content_export.h"
-#include "third_party/WebKit/public/platform/WebBatteryStatus.h"
-
-namespace base {
-class DictionaryValue;
-}
-
-namespace content {
-
-// UPowerDeviceState reflects the possible UPower.Device.State values,
-// see upower.freedesktop.org/docs/Device.html#Device:State.
-enum UPowerDeviceState {
- UPOWER_DEVICE_STATE_UNKNOWN = 0,
- UPOWER_DEVICE_STATE_CHARGING = 1,
- UPOWER_DEVICE_STATE_DISCHARGING = 2,
- UPOWER_DEVICE_STATE_EMPTY = 3,
- UPOWER_DEVICE_STATE_FULL = 4,
- UPOWER_DEVICE_STATE_PENDING_CHARGE = 5,
- UPOWER_DEVICE_STATE_PENDING_DISCHARGE = 6,
-};
-
-// Returns the WebBatteryStatus computed using the provided dictionary.
-CONTENT_EXPORT blink::WebBatteryStatus ComputeWebBatteryStatus(
- const base::DictionaryValue& dictionary);
-
-} // namespace content
-
-#endif // CHROME_BROWSER_BATTERY_STATUS_BATTERY_STATUS_MANAGER_LINUX_H_
« no previous file with comments | « trunk/src/content/browser/BUILD.gn ('k') | trunk/src/content/browser/battery_status/battery_status_manager_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698