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

Unified Diff: components/password_manager/content/common/credential_manager_types.h

Issue 615383002: Credential Manager: Return the first valid item from the PasswordStore. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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/common/credential_manager_types.h
diff --git a/components/password_manager/content/common/credential_manager_types.h b/components/password_manager/content/common/credential_manager_types.h
index 68242c92dd4800bc63fc9af4935e45b72f8668b6..c825e6f8e6dcbfa025236c0625d1aad294d3b590 100644
--- a/components/password_manager/content/common/credential_manager_types.h
+++ b/components/password_manager/content/common/credential_manager_types.h
@@ -12,6 +12,10 @@
#include "base/strings/string16.h"
#include "url/gurl.h"
+namespace autofill {
+struct PasswordForm;
+}
+
namespace password_manager {
// Limit the size of the federations array that we pass to the browser to
@@ -30,6 +34,7 @@ struct CredentialInfo {
CredentialInfo(const base::string16& id,
const base::string16& name,
const GURL& avatar);
+ CredentialInfo(const autofill::PasswordForm& form);
~CredentialInfo();
CredentialType type;

Powered by Google App Engine
This is Rietveld 408576698