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

Unified Diff: chrome/android/java/src/org/chromium/chrome/browser/omnibox/AutocompleteController.java

Issue 858173004: Delete GetTopAsynchronousMatch. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 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
« no previous file with comments | « no previous file | chrome/browser/android/omnibox/autocomplete_controller_android.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/android/java/src/org/chromium/chrome/browser/omnibox/AutocompleteController.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/omnibox/AutocompleteController.java b/chrome/android/java/src/org/chromium/chrome/browser/omnibox/AutocompleteController.java
index b9c73decba60b6d275b0ea204e1bc8ae5910245f..b1cef68c0f3762e29be127cfde6a031126fde4a5 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/omnibox/AutocompleteController.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/omnibox/AutocompleteController.java
@@ -289,14 +289,6 @@ public class AutocompleteController {
mNativeAutocompleteControllerAndroid, selectedIndex, elapsedTimeSinceInputChange);
}
- /**
- * @param query User input text.
- * @return The top synchronous suggestion from the autocomplete controller.
- */
- public OmniboxSuggestion getTopSynchronousMatch(String query) {
- return nativeGetTopSynchronousMatch(mNativeAutocompleteControllerAndroid, query);
- }
-
@VisibleForTesting
protected native long nativeInit(Profile profile);
private native void nativeStart(long nativeAutocompleteControllerAndroid, String text,
@@ -318,8 +310,6 @@ public class AutocompleteController {
private native String nativeUpdateMatchDestinationURLWithQueryFormulationTime(
long nativeAutocompleteControllerAndroid, int selectedIndex,
long elapsedTimeSinceInputChange);
- private native OmniboxSuggestion nativeGetTopSynchronousMatch(
- long nativeAutocompleteControllerAndroid, String query);
/**
* Given a search query, this will attempt to see if the query appears to be portion of a
« no previous file with comments | « no previous file | chrome/browser/android/omnibox/autocomplete_controller_android.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698