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

Unified Diff: components/password_manager/core/browser/credential_manager_pending_request_task.cc

Issue 1162583003: Credential Management: Rename 'LocalCredential' to 'PasswordCredential' (2/3) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@drop
Patch Set: Fix. Created 5 years, 7 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/core/browser/credential_manager_pending_request_task.cc
diff --git a/components/password_manager/core/browser/credential_manager_pending_request_task.cc b/components/password_manager/core/browser/credential_manager_pending_request_task.cc
index 596ed0a07843a90292625a9b3e02242b06f9af8f..68e03c1cfe0510e479a57797e0b075f9c201cdb3 100644
--- a/components/password_manager/core/browser/credential_manager_pending_request_task.cc
+++ b/components/password_manager/core/browser/credential_manager_pending_request_task.cc
@@ -78,7 +78,7 @@ void CredentialManagerPendingRequestTask::OnGetPasswordStoreResults(
zero_click_form_to_return);
CredentialInfo info(*zero_click_form_to_return,
zero_click_form_to_return->federation_url.is_empty()
- ? CredentialType::CREDENTIAL_TYPE_LOCAL
+ ? CredentialType::CREDENTIAL_TYPE_PASSWORD
: CredentialType::CREDENTIAL_TYPE_FEDERATED);
DCHECK(it != local_results.end());
std::swap(*it, local_results[0]);

Powered by Google App Engine
This is Rietveld 408576698