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

Unified Diff: components/password_manager/content/renderer/credential_manager_client.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/content/renderer/credential_manager_client.cc
diff --git a/components/password_manager/content/renderer/credential_manager_client.cc b/components/password_manager/content/renderer/credential_manager_client.cc
index b57d3100b2ac1500533dd18f3a64ce9692b33410..66754a7bcc82d35f70743f5f57041d42aa501786 100644
--- a/components/password_manager/content/renderer/credential_manager_client.cc
+++ b/components/password_manager/content/renderer/credential_manager_client.cc
@@ -11,7 +11,7 @@
#include "third_party/WebKit/public/platform/WebCredential.h"
#include "third_party/WebKit/public/platform/WebCredentialManagerError.h"
#include "third_party/WebKit/public/platform/WebFederatedCredential.h"
-#include "third_party/WebKit/public/platform/WebLocalCredential.h"
+#include "third_party/WebKit/public/platform/WebPasswordCredential.h"
#include "third_party/WebKit/public/web/WebView.h"
namespace password_manager {
@@ -87,8 +87,8 @@ void CredentialManagerClient::OnSendCredential(int request_id,
credential.reset(new blink::WebFederatedCredential(
info.id, info.federation, info.name, info.avatar));
break;
- case CredentialType::CREDENTIAL_TYPE_LOCAL:
- credential.reset(new blink::WebLocalCredential(
+ case CredentialType::CREDENTIAL_TYPE_PASSWORD:
+ credential.reset(new blink::WebPasswordCredential(
info.id, info.password, info.name, info.avatar));
break;
case CredentialType::CREDENTIAL_TYPE_EMPTY:

Powered by Google App Engine
This is Rietveld 408576698