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

Unified Diff: chrome/browser/android/omnibox/autocomplete_controller_android.cc

Issue 399063002: Remove BaseSearchProvider::set_in_app_list (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix typo Created 6 years, 5 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
Index: chrome/browser/android/omnibox/autocomplete_controller_android.cc
diff --git a/chrome/browser/android/omnibox/autocomplete_controller_android.cc b/chrome/browser/android/omnibox/autocomplete_controller_android.cc
index e6be18552190f2912c3d6f51300047f81d1e1c8a..efb29ba2f9b5a53377bbb4b00a91b00cc4c92f4b 100644
--- a/chrome/browser/android/omnibox/autocomplete_controller_android.cc
+++ b/chrome/browser/android/omnibox/autocomplete_controller_android.cc
@@ -243,12 +243,12 @@ void AutocompleteControllerAndroid::DeleteSuggestion(JNIEnv* env,
autocomplete_controller_->DeleteMatch(match);
}
-ScopedJavaLocalRef<jstring>
-AutocompleteControllerAndroid::UpdateMatchDestinationURL(
- JNIEnv* env,
- jobject obj,
- jint selected_index,
- jlong elapsed_time_since_input_change) {
+ScopedJavaLocalRef<jstring> AutocompleteControllerAndroid::
+ UpdateMatchDestinationURLWithQueryFormulationTime(
+ JNIEnv* env,
+ jobject obj,
+ jint selected_index,
+ jlong elapsed_time_since_input_change) {
// In rare cases, we navigate to cached matches and the underlying result
// has already been cleared, in that case ignore the URL update.
if (autocomplete_controller_->result().empty())
@@ -256,7 +256,7 @@ AutocompleteControllerAndroid::UpdateMatchDestinationURL(
AutocompleteMatch match(
autocomplete_controller_->result().match_at(selected_index));
- autocomplete_controller_->UpdateMatchDestinationURL(
+ autocomplete_controller_->UpdateMatchDestinationURLWithQueryFormulationTime(
base::TimeDelta::FromMilliseconds(elapsed_time_since_input_change),
&match);
return ConvertUTF8ToJavaString(env, match.destination_url.spec());

Powered by Google App Engine
This is Rietveld 408576698