| Index: remoting/protocol/v2_authenticator_unittest.cc
|
| diff --git a/remoting/protocol/v2_authenticator_unittest.cc b/remoting/protocol/v2_authenticator_unittest.cc
|
| index afc644bd357058052e87b462f3bdc51351557009..9af517b645435e7f8ff97dbcf5decb1aa46689df 100644
|
| --- a/remoting/protocol/v2_authenticator_unittest.cc
|
| +++ b/remoting/protocol/v2_authenticator_unittest.cc
|
| @@ -87,7 +87,8 @@ TEST_F(V2AuthenticatorTest, InvalidSecret) {
|
| ASSERT_TRUE(message.get());
|
|
|
| ASSERT_EQ(Authenticator::WAITING_MESSAGE, client_->state());
|
| - host_->ProcessMessage(message.get());
|
| + host_->ProcessMessage(message.get(), base::Bind(&base::DoNothing));
|
| + // This assumes that V2Authenticator::ProcessMessage runs synchronously.
|
| ASSERT_EQ(Authenticator::REJECTED, host_->state());
|
| }
|
|
|
|
|