Add an accessor method for suggestion score.

BUG=

Review URL: https://codereview.chromium.org/340523008

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@278324 0039d316-1c4b-4281-b951-d872f2087c98
parent bb517383
......@@ -182,6 +182,13 @@ public class OmniboxSuggestion {
return mIsDeletable;
}
/**
* @return The relevance score of this suggestion.
*/
public int getRelevance() {
return mRelevance;
}
@Override
public String toString() {
return mType + " relevance=" + mRelevance + " \"" + mDisplayText + "\" -> " + mUrl;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment