Chromium Code Reviews| Index: chrome/browser/chromeos/low_battery_observer.h |
| diff --git a/chrome/browser/chromeos/low_battery_observer.h b/chrome/browser/chromeos/low_battery_observer.h |
| index d2258694c1170bb1e0c1150c839f500b43e841ce..cec5775b40bcc79d7a281c8fedb61c2f802d6b70 100644 |
| --- a/chrome/browser/chromeos/low_battery_observer.h |
| +++ b/chrome/browser/chromeos/low_battery_observer.h |
| @@ -1,4 +1,4 @@ |
| -// Copyright (c) 2011 The Chromium Authors. All rights reserved. |
| +// Copyright (c) 2010 The Chromium Authors. All rights reserved. |
|
satorux1
2011/10/28 17:36:23
2011
Simon Que
2011/10/29 02:20:11
Done.
|
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| @@ -8,7 +8,7 @@ |
| #include "base/basictypes.h" |
| #include "base/time.h" |
| -#include "chrome/browser/chromeos/cros/power_library.h" |
| +#include "chrome/browser/chromeos/dbus/power_manager_client.h" |
| #include "chrome/browser/chromeos/notifications/system_notification.h" |
| class Profile; |
| @@ -18,14 +18,13 @@ namespace chromeos { |
| // The low battery observer displays a system notification when the battery |
| // is low. |
| -class LowBatteryObserver : public PowerLibrary::Observer { |
| +class LowBatteryObserver : public PowerManagerClient::Observer { |
| public: |
| explicit LowBatteryObserver(Profile* profile); |
| virtual ~LowBatteryObserver(); |
| private: |
| virtual void PowerChanged(const PowerSupplyStatus& power_status); |
| - virtual void SystemResumed() {} |
| void Show(base::TimeDelta remaining, bool urgent); |
| void Hide(); |