| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "content/browser/battery_status/battery_status_manager.h" | 5 #include "content/browser/battery_status/battery_status_manager.h" |
| 6 | 6 |
| 7 #include "base/logging.h" | 7 #include "base/logging.h" |
| 8 | 8 |
| 9 namespace content { | 9 namespace content { |
| 10 | 10 |
| 11 BatteryStatusManager::BatteryStatusManager( | 11 BatteryStatusManager::BatteryStatusManager( |
| 12 const BatteryStatusUpdateCallback& callback) : callback_(callback) { | 12 const BatteryStatusService::BatteryUpdateCallback& callback) |
| 13 } | 13 : callback_(callback) { |
| 14 | |
| 15 BatteryStatusManager::~BatteryStatusManager() { | |
| 16 } | 14 } |
| 17 | 15 |
| 18 bool BatteryStatusManager::StartListeningBatteryChange() { | 16 bool BatteryStatusManager::StartListeningBatteryChange() { |
| 19 NOTIMPLEMENTED(); | 17 NOTIMPLEMENTED(); |
| 20 return false; | 18 return false; |
| 21 } | 19 } |
| 22 | 20 |
| 23 void BatteryStatusManager::StopListeningBatteryChange() { | 21 void BatteryStatusManager::StopListeningBatteryChange() { |
| 24 NOTIMPLEMENTED(); | 22 NOTIMPLEMENTED(); |
| 25 } | 23 } |
| 26 | 24 |
| 27 } // namespace content | 25 } // namespace content |
| OLD | NEW |