| Index: chrome/browser/chromeos/power/low_battery_observer.h
|
| diff --git a/chrome/browser/chromeos/power/low_battery_observer.h b/chrome/browser/chromeos/power/low_battery_observer.h
|
| deleted file mode 100644
|
| index 815a8d5e41a1e9b282bbabc3584681d4b00d313b..0000000000000000000000000000000000000000
|
| --- a/chrome/browser/chromeos/power/low_battery_observer.h
|
| +++ /dev/null
|
| @@ -1,38 +0,0 @@
|
| -// Copyright (c) 2012 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_CHROMEOS_POWER_LOW_BATTERY_OBSERVER_H_
|
| -#define CHROME_BROWSER_CHROMEOS_POWER_LOW_BATTERY_OBSERVER_H_
|
| -
|
| -#include "base/basictypes.h"
|
| -#include "base/compiler_specific.h"
|
| -#include "base/time.h"
|
| -#include "chrome/browser/chromeos/notifications/system_notification.h"
|
| -#include "chromeos/dbus/power_manager_client.h"
|
| -
|
| -class Profile;
|
| -
|
| -namespace chromeos {
|
| -
|
| -// Displays a system notification when the battery is low.
|
| -class LowBatteryObserver : public PowerManagerClient::Observer {
|
| - public:
|
| - explicit LowBatteryObserver(Profile* profile);
|
| - virtual ~LowBatteryObserver();
|
| -
|
| - private:
|
| - virtual void PowerChanged(const PowerSupplyStatus& power_status) OVERRIDE;
|
| -
|
| - void Show(base::TimeDelta remaining, bool urgent);
|
| - void Hide();
|
| -
|
| - SystemNotification notification_;
|
| - int remaining_; // Last displayed remaining time in minutes
|
| -
|
| - DISALLOW_COPY_AND_ASSIGN(LowBatteryObserver);
|
| -};
|
| -
|
| -} // namespace chromeos
|
| -
|
| -#endif // CHROME_BROWSER_CHROMEOS_POWER_LOW_BATTERY_OBSERVER_H_
|
|
|