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

Unified Diff: components/autofill/common/password_form_fill_data.h

Issue 15660018: [autofill] Add support for PSL domain matching for password autofill. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed compile error for browsertests Created 7 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/autofill/common/password_form_fill_data.h
diff --git a/components/autofill/common/password_form_fill_data.h b/components/autofill/common/password_form_fill_data.h
index 1c6091a80d0f43e19c8ac6a382be129a05606348..fd0d00dd1eed193fbe9cbff3898c714038f384e6 100644
--- a/components/autofill/common/password_form_fill_data.h
+++ b/components/autofill/common/password_form_fill_data.h
@@ -6,6 +6,7 @@
#define COMPONENTS_AUTOFILL_COMMON_PASSWORD_FORM_FILL_DATA_H_
#include <map>
+#include <set>
#include "base/memory/scoped_ptr.h"
#include "components/autofill/common/form_data.h"
@@ -44,7 +45,11 @@ struct PasswordFormFillData {
std::vector<base::string16> > UsernamesCollection;
FormData basic_data;
- LoginCollection additional_logins;
+ base::string16 preferred_realm;
+ bool preferred_is_psl_origin_match;
+ LoginCollection additional_logins_passwords;
+ LoginCollection additional_logins_realms;
+ std::set<base::string16> additional_logins_is_psl_origin_match;
UsernamesCollection other_possible_usernames;
bool wait_for_username;
PasswordFormFillData();

Powered by Google App Engine
This is Rietveld 408576698