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

Unified Diff: content/browser/battery_status/battery_status_manager_default.cc

Issue 267893003: Battery Status API: add plumbing for multi-platform support. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 6 years, 7 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: content/browser/battery_status/battery_status_manager_default.cc
diff --git a/content/browser/battery_status/battery_status_manager_default.cc b/content/browser/battery_status/battery_status_manager_default.cc
new file mode 100644
index 0000000000000000000000000000000000000000..411353e2ba95d3ae93a5a160e3b59fab490f64bf
--- /dev/null
+++ b/content/browser/battery_status/battery_status_manager_default.cc
@@ -0,0 +1,27 @@
+// 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.
+
+#include "content/browser/battery_status/battery_status_manager.h"
+
+#include "base/logging.h"
+
+namespace content {
+
+BatteryStatusManager::BatteryStatusManager(
+ const BatteryStatusUpdateCallback& callback) : callback_(callback) {
+}
+
+BatteryStatusManager::~BatteryStatusManager() {
+}
+
+bool BatteryStatusManager::StartListeningBatteryChange() {
+ NOTIMPLEMENTED();
+ return false;
+}
+
+void BatteryStatusManager::StopListeningBatteryChange() {
+ NOTIMPLEMENTED();
+}
+
+} // namespace content

Powered by Google App Engine
This is Rietveld 408576698