| Index: chrome/browser/chromeos/cros/power_library.h
|
| diff --git a/chrome/browser/chromeos/cros/power_library.h b/chrome/browser/chromeos/cros/power_library.h
|
| index b08bd3c9450c11b507f425040c53f97bc0a96e13..85f40ae0fdf727f99bb84ae956ad20ce29e5f6a3 100644
|
| --- a/chrome/browser/chromeos/cros/power_library.h
|
| +++ b/chrome/browser/chromeos/cros/power_library.h
|
| @@ -16,8 +16,6 @@ class TimeDelta;
|
|
|
| namespace chromeos {
|
|
|
| -typedef base::Callback<void(int64_t)> CalculateIdleTimeCallback;
|
| -
|
| // This interface defines interaction with the ChromeOS power library APIs.
|
| // Classes can add themselves as observers. Users can get an instance of this
|
| // library class like this: chromeos::CrosLibrary::Get()->GetPowerLibrary()
|
| @@ -38,10 +36,6 @@ class PowerLibrary {
|
| virtual void AddObserver(Observer* observer) = 0;
|
| virtual void RemoveObserver(Observer* observer) = 0;
|
|
|
| - // Calculates idle time asynchronously. If it encounters some error,
|
| - // it returns -1.
|
| - virtual void CalculateIdleTime(CalculateIdleTimeCallback* callback) = 0;
|
| -
|
| // Enable/disable screen lock for current session.
|
| virtual void EnableScreenLock(bool enable) = 0;
|
|
|
|
|