Upstream version 10.39.225.0
[platform/framework/web/crosswalk.git] / src / ui / android / java / src / org / chromium / ui / autofill / AutofillSuggestion.java
index 685a687..a1fb2b0 100644 (file)
@@ -10,20 +10,20 @@ import org.chromium.ui.DropdownItem;
  * Autofill suggestion container used to store information needed for each Autofill popup entry.
  */
 public class AutofillSuggestion implements DropdownItem {
-    final String mLabel;
-    final String mSublabel;
-    final int mUniqueId;
+    private final String mLabel;
+    private final String mSublabel;
+    private final int mSuggestionId;
 
     /**
      * Constructs a Autofill suggestion container.
      * @param name The name of the Autofill suggestion.
      * @param label The describing label of the Autofill suggestion.
-     * @param uniqueId The unique id used to identify the Autofill suggestion.
+     * @param suggestionId The type of suggestion.
      */
-    public AutofillSuggestion(String name, String label, int uniqueId) {
+    public AutofillSuggestion(String name, String label, int suggestionId) {
         mLabel = name;
         mSublabel = label;
-        mUniqueId = uniqueId;
+        mSuggestionId = suggestionId;
     }
 
     @Override
@@ -46,7 +46,7 @@ public class AutofillSuggestion implements DropdownItem {
         return false;
     }
 
-    public int getUniqueId() {
-        return mUniqueId;
+    public int getSuggestionId() {
+        return mSuggestionId;
     }
 }