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

Unified Diff: chrome/browser/ui/passwords/manage_passwords_ui_controller_unittest.cc

Issue 835523004: Credential Manager API: Enable forward declaration for CredentialType enum (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 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
« no previous file with comments | « no previous file | components/password_manager/content/browser/content_credential_manager_dispatcher_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/passwords/manage_passwords_ui_controller_unittest.cc
diff --git a/chrome/browser/ui/passwords/manage_passwords_ui_controller_unittest.cc b/chrome/browser/ui/passwords/manage_passwords_ui_controller_unittest.cc
index b05c7b726b236d842af4a964b33e15ca81d2a8f4..c12acc68759f5e375bc362705aa1c57a02db4646 100644
--- a/chrome/browser/ui/passwords/manage_passwords_ui_controller_unittest.cc
+++ b/chrome/browser/ui/passwords/manage_passwords_ui_controller_unittest.cc
@@ -347,7 +347,8 @@ TEST_F(ManagePasswordsUIControllerTest, ChooseCredential) {
ASSERT_TRUE(credential_info());
EXPECT_EQ(test_form().username_value, credential_info()->id);
EXPECT_EQ(test_form().password_value, credential_info()->password);
- EXPECT_EQ(password_manager::CREDENTIAL_TYPE_LOCAL, credential_info()->type);
+ EXPECT_EQ(password_manager::CredentialType::CREDENTIAL_TYPE_LOCAL,
+ credential_info()->type);
}
TEST_F(ManagePasswordsUIControllerTest, ChooseCredentialCancel) {
@@ -366,7 +367,8 @@ TEST_F(ManagePasswordsUIControllerTest, ChooseCredentialCancel) {
test_form());
EXPECT_EQ(password_manager::ui::INACTIVE_STATE, controller()->state());
ASSERT_TRUE(credential_info());
- EXPECT_EQ(password_manager::CREDENTIAL_TYPE_EMPTY, credential_info()->type);
+ EXPECT_EQ(password_manager::CredentialType::CREDENTIAL_TYPE_EMPTY,
+ credential_info()->type);
}
TEST_F(ManagePasswordsUIControllerTest, InactiveOnPSLMatched) {
« no previous file with comments | « no previous file | components/password_manager/content/browser/content_credential_manager_dispatcher_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698