| Index: components/password_manager/content/renderer/credential_manager_client_browsertest.cc
|
| diff --git a/components/password_manager/content/renderer/credential_manager_client_browsertest.cc b/components/password_manager/content/renderer/credential_manager_client_browsertest.cc
|
| index 5095fd8d07f666bd12aa01624a976994a0a1d834..22071673fb995e768dddfaa5c4dfbddff8720d70 100644
|
| --- a/components/password_manager/content/renderer/credential_manager_client_browsertest.cc
|
| +++ b/components/password_manager/content/renderer/credential_manager_client_browsertest.cc
|
| @@ -52,13 +52,6 @@ class CredentialManagerClientTest : public content::RenderViewTest {
|
| return false;
|
|
|
| switch (message_id) {
|
| - case CredentialManagerHostMsg_NotifyFailedSignIn::ID: {
|
| - base::Tuple<int, CredentialInfo> param;
|
| - CredentialManagerHostMsg_NotifyFailedSignIn::Read(message, ¶m);
|
| - request_id = base::get<0>(param);
|
| - break;
|
| - }
|
| -
|
| case CredentialManagerHostMsg_NotifySignedIn::ID: {
|
| base::Tuple<int, CredentialInfo> param;
|
| CredentialManagerHostMsg_NotifySignedIn::Read(message, ¶m);
|
| @@ -146,23 +139,6 @@ class TestRequestCallbacks
|
|
|
| } // namespace
|
|
|
| -TEST_F(CredentialManagerClientTest, SendNotifyFailedSignIn) {
|
| - int request_id;
|
| - EXPECT_FALSE(ExtractRequestId(CredentialManagerHostMsg_NotifyFailedSignIn::ID,
|
| - request_id));
|
| -
|
| - scoped_ptr<TestNotificationCallbacks> callbacks(
|
| - new TestNotificationCallbacks(this));
|
| - client_->dispatchFailedSignIn(*credential(), callbacks.release());
|
| -
|
| - EXPECT_TRUE(ExtractRequestId(CredentialManagerHostMsg_NotifyFailedSignIn::ID,
|
| - request_id));
|
| -
|
| - client_->OnAcknowledgeFailedSignIn(request_id);
|
| - EXPECT_TRUE(callback_succeeded());
|
| - EXPECT_FALSE(callback_errored());
|
| -}
|
| -
|
| TEST_F(CredentialManagerClientTest, SendNotifySignedIn) {
|
| int request_id;
|
| EXPECT_FALSE(ExtractRequestId(CredentialManagerHostMsg_NotifySignedIn::ID,
|
|
|