| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 package org.chromium.chrome.browser.autofill; | 5 package org.chromium.chrome.browser.autofill; |
| 6 | 6 |
| 7 /** | 7 /** |
| 8 * Autofill suggestion container used to store information needed for each Autof
ill popup entry. | 8 * Autofill suggestion container used to store information needed for each Autof
ill popup entry. |
| 9 */ | 9 */ |
| 10 public class AutofillSuggestion { | 10 public class AutofillSuggestion { |
| 11 public final String mName; | |
| 12 public final String mLabel; | 11 public final String mLabel; |
| 12 public final String mSublabel; |
| 13 public final int mUniqueId; | 13 public final int mUniqueId; |
| 14 | 14 |
| 15 /** | 15 /** |
| 16 * Constructs a Autofill suggestion container. | 16 * Constructs a Autofill suggestion container. |
| 17 * @param name The name of the Autofill suggestion. | 17 * @param label The label of the Autofill suggestion. |
| 18 * @param label The describing label of the Autofill suggestion. | 18 * @param sublabel The sublabel of the Autofill suggestion. |
| 19 * @param uniqueId The unique id used to identify the Autofill suggestion. | 19 * @param uniqueId The unique id used to identify the Autofill suggestion. |
| 20 */ | 20 */ |
| 21 public AutofillSuggestion(String name, String label, int uniqueId) { | 21 public AutofillSuggestion(String label, String sublabel, int uniqueId) { |
| 22 mName = name; | |
| 23 mLabel = label; | 22 mLabel = label; |
| 23 mSublabel = sublabel; |
| 24 mUniqueId = uniqueId; | 24 mUniqueId = uniqueId; |
| 25 } | 25 } |
| 26 } | 26 } |
| OLD | NEW |