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

Unified Diff: chrome/android/java/src/org/chromium/chrome/browser/autofill/AutofillSuggestion.java

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 android label with Created 7 years, 6 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/android/java/src/org/chromium/chrome/browser/autofill/AutofillSuggestion.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/autofill/AutofillSuggestion.java b/chrome/android/java/src/org/chromium/chrome/browser/autofill/AutofillSuggestion.java
index adfd0f95413fa2fa2f2d352e7c4745bd4abdbe5d..eb187cf947a84134120f6ee22ff0296980de18dd 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/autofill/AutofillSuggestion.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/autofill/AutofillSuggestion.java
@@ -8,19 +8,19 @@ package org.chromium.chrome.browser.autofill;
* Autofill suggestion container used to store information needed for each Autofill popup entry.
*/
public class AutofillSuggestion {
- public final String mName;
public final String mLabel;
+ public final String mSublabel;
public final int mUniqueId;
/**
* Constructs a Autofill suggestion container.
- * @param name The name of the Autofill suggestion.
- * @param label The describing label of the Autofill suggestion.
+ * @param label The label of the Autofill suggestion.
+ * @param sublabel The sublabel of the Autofill suggestion.
* @param uniqueId The unique id used to identify the Autofill suggestion.
*/
- public AutofillSuggestion(String name, String label, int uniqueId) {
- mName = name;
+ public AutofillSuggestion(String label, String sublabel, int uniqueId) {
mLabel = label;
+ mSublabel = sublabel;
mUniqueId = uniqueId;
}
}

Powered by Google App Engine
This is Rietveld 408576698