| 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 051b31d02cdf82e466663ddfddcc4c095f52eaa7..d468ff7985dcf38251e4f4af684ab3b2e001a2a3 100644
|
| --- a/chrome/browser/chromeos/cros/cros_mock.cc
|
| +++ b/chrome/browser/chromeos/cros/cros_mock.cc
|
| @@ -211,21 +211,21 @@ void CrosMock::SetNetworkLibraryStatusAreaExpectations() {
|
| .WillRepeatedly((Return(false)))
|
| .RetiresOnSaturation();
|
| EXPECT_CALL(*mock_network_library_, ethernet_connected())
|
| - .Times(1)
|
| + .Times(AnyNumber())
|
| .WillRepeatedly((Return(false)))
|
| .RetiresOnSaturation();
|
| EXPECT_CALL(*mock_network_library_, ethernet_connecting())
|
| - .Times(1)
|
| + .Times(AnyNumber())
|
| .WillRepeatedly((Return(false)))
|
| .RetiresOnSaturation();
|
| }
|
|
|
| void CrosMock::SetPowerLibraryStatusAreaExpectations() {
|
| EXPECT_CALL(*mock_power_library_, AddObserver(_))
|
| - .Times(3)
|
| + .Times(AnyNumber())
|
| .RetiresOnSaturation();
|
| EXPECT_CALL(*mock_power_library_, RemoveObserver(_))
|
| - .Times(3)
|
| + .Times(AnyNumber())
|
| .RetiresOnSaturation();
|
| }
|
|
|
|
|