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

Unified Diff: chrome/browser/ui/views/passwords/manage_passwords_bubble_view.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: chrome/browser/ui/views/passwords/manage_passwords_bubble_view.cc
diff --git a/chrome/browser/ui/views/passwords/manage_passwords_bubble_view.cc b/chrome/browser/ui/views/passwords/manage_passwords_bubble_view.cc
index 0d4638ca9249ec7bca93f5f9963179a2ff896234..78078fa4c7f58563f09f60fa269f996709be451a 100644
--- a/chrome/browser/ui/views/passwords/manage_passwords_bubble_view.cc
+++ b/chrome/browser/ui/views/passwords/manage_passwords_bubble_view.cc
@@ -218,7 +218,7 @@ ManagePasswordsBubbleView::AccountChooserView::AccountChooserView(
AddCredentialItemsWithType(
layout, parent_->model()->local_credentials(),
- password_manager::CredentialType::CREDENTIAL_TYPE_LOCAL);
+ password_manager::CredentialType::CREDENTIAL_TYPE_PASSWORD);
AddCredentialItemsWithType(
layout, parent_->model()->federated_credentials(),
@@ -307,9 +307,8 @@ ManagePasswordsBubbleView::AutoSigninView::AutoSigninView(
observed_browser_(this) {
SetLayoutManager(new views::FillLayout);
CredentialsItemView* credential = new CredentialsItemView(
- this,
- &parent_->model()->pending_password(),
- password_manager::CredentialType::CREDENTIAL_TYPE_LOCAL,
+ this, &parent_->model()->pending_password(),
+ password_manager::CredentialType::CREDENTIAL_TYPE_PASSWORD,
CredentialsItemView::AUTO_SIGNIN,
parent_->model()->GetProfile()->GetRequestContext());
AddChildView(credential);

Powered by Google App Engine
This is Rietveld 408576698