| Index: chrome/browser/chromeos/cros/cros_mock.cc
|
| diff --git a/chrome/browser/chromeos/cros/cros_mock.cc b/chrome/browser/chromeos/cros/cros_mock.cc
|
| index 95ce0eced83e88dc1c014d476a7ff87b3539d109..051b31d02cdf82e466663ddfddcc4c095f52eaa7 100644
|
| --- a/chrome/browser/chromeos/cros/cros_mock.cc
|
| +++ b/chrome/browser/chromeos/cros/cros_mock.cc
|
| @@ -224,30 +224,6 @@ void CrosMock::SetPowerLibraryStatusAreaExpectations() {
|
| EXPECT_CALL(*mock_power_library_, AddObserver(_))
|
| .Times(3)
|
| .RetiresOnSaturation();
|
| - EXPECT_CALL(*mock_power_library_, IsBatteryFullyCharged())
|
| - .Times(1)
|
| - .WillRepeatedly((Return(false)))
|
| - .RetiresOnSaturation();
|
| - EXPECT_CALL(*mock_power_library_, IsBatteryPresent())
|
| - .Times(1)
|
| - .WillOnce((Return(true)))
|
| - .RetiresOnSaturation();
|
| - EXPECT_CALL(*mock_power_library_, GetBatteryPercentage())
|
| - .Times(1)
|
| - .WillRepeatedly((Return(42.0)))
|
| - .RetiresOnSaturation();
|
| - EXPECT_CALL(*mock_power_library_, IsLinePowerOn())
|
| - .Times(1)
|
| - .WillRepeatedly((Return(false)))
|
| - .RetiresOnSaturation();
|
| - EXPECT_CALL(*mock_power_library_, GetBatteryTimeToEmpty())
|
| - .Times(1)
|
| - .WillRepeatedly((Return(base::TimeDelta::FromMinutes(42))))
|
| - .RetiresOnSaturation();
|
| - EXPECT_CALL(*mock_power_library_, GetBatteryTimeToFull())
|
| - .Times(1)
|
| - .WillRepeatedly((Return(base::TimeDelta::FromMinutes(24))))
|
| - .RetiresOnSaturation();
|
| EXPECT_CALL(*mock_power_library_, RemoveObserver(_))
|
| .Times(3)
|
| .RetiresOnSaturation();
|
|
|