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

Unified Diff: chrome/browser/chromeos/cros/mock_power_library.h

Issue 8347016: chromeos: Simplify power supply info in PowerLibrary (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Various comment fixes Created 9 years, 2 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
« no previous file with comments | « chrome/browser/chromeos/cros/cros_mock.cc ('k') | chrome/browser/chromeos/cros/power_library.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/cros/mock_power_library.h
diff --git a/chrome/browser/chromeos/cros/mock_power_library.h b/chrome/browser/chromeos/cros/mock_power_library.h
index b97f66a45e367e4eb6b30d7a97c1b3875eb51529..770dfea649a92eccb34d6b5ff6f3fd39ffd15e17 100644
--- a/chrome/browser/chromeos/cros/mock_power_library.h
+++ b/chrome/browser/chromeos/cros/mock_power_library.h
@@ -22,13 +22,6 @@ class MockPowerLibrary : public PowerLibrary {
MOCK_METHOD1(AddObserver, void(Observer*));
MOCK_METHOD1(RemoveObserver, void(Observer*));
- MOCK_CONST_METHOD0(IsLinePowerOn, bool(void));
- MOCK_CONST_METHOD0(IsBatteryFullyCharged, bool(void));
- MOCK_CONST_METHOD0(GetBatteryPercentage, double(void));
- MOCK_CONST_METHOD0(IsBatteryPresent, bool(void));
- MOCK_CONST_METHOD0(GetBatteryTimeToEmpty, base::TimeDelta(void));
- MOCK_CONST_METHOD0(GetBatteryTimeToFull, base::TimeDelta(void));
-
MOCK_METHOD1(CalculateIdleTime, void(CalculateIdleTimeCallback*));
MOCK_METHOD1(EnableScreenLock, void(bool));
« no previous file with comments | « chrome/browser/chromeos/cros/cros_mock.cc ('k') | chrome/browser/chromeos/cros/power_library.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698