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

Side by Side 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: Addressed comments from isherman and aurimas 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698