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

Unified Diff: components/password_manager/content/browser/credential_manager_dispatcher_unittest.cc

Issue 1215653003: Remove the notifyFailedSignedIn callback from Chromium. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: components_browsertests Created 5 years, 6 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
Index: components/password_manager/content/browser/credential_manager_dispatcher_unittest.cc
diff --git a/components/password_manager/content/browser/credential_manager_dispatcher_unittest.cc b/components/password_manager/content/browser/credential_manager_dispatcher_unittest.cc
index ec69d280237e8c1b8f1e1b30af9128a978616426..d1c26f0e3f48964341bc0d8e08aaf4dec8e1bd0c 100644
--- a/components/password_manager/content/browser/credential_manager_dispatcher_unittest.cc
+++ b/components/password_manager/content/browser/credential_manager_dispatcher_unittest.cc
@@ -214,18 +214,6 @@ class CredentialManagerDispatcherTest
scoped_ptr<CredentialManagerDispatcher> dispatcher_;
};
-TEST_F(CredentialManagerDispatcherTest, CredentialManagerOnNotifyFailedSignIn) {
- CredentialInfo info;
- info.type = CredentialType::CREDENTIAL_TYPE_PASSWORD;
- dispatcher()->OnNotifyFailedSignIn(kRequestId, info);
-
- const uint32 kMsgID = CredentialManagerMsg_AcknowledgeFailedSignIn::ID;
- const IPC::Message* message =
- process()->sink().GetFirstMessageMatching(kMsgID);
- EXPECT_TRUE(message);
- process()->sink().ClearMessages();
-}
-
TEST_F(CredentialManagerDispatcherTest, CredentialManagerOnNotifySignedIn) {
CredentialInfo info(
form_, password_manager::CredentialType::CREDENTIAL_TYPE_PASSWORD);

Powered by Google App Engine
This is Rietveld 408576698