| Index: chrome/browser/android/omnibox/autocomplete_controller_android.h
|
| diff --git a/chrome/browser/android/omnibox/autocomplete_controller_android.h b/chrome/browser/android/omnibox/autocomplete_controller_android.h
|
| index d961068e7b302c550b47c06a54b3d3c814ff2912..63de5e890cb9e3b02056b6269b58d9b1643e48ec 100644
|
| --- a/chrome/browser/android/omnibox/autocomplete_controller_android.h
|
| +++ b/chrome/browser/android/omnibox/autocomplete_controller_android.h
|
| @@ -67,6 +67,11 @@ class AutocompleteControllerAndroid : public AutocompleteControllerDelegate,
|
| jint selected_index,
|
| jlong elapsed_time_since_input_change);
|
|
|
| + base::android::ScopedJavaLocalRef<jobject> GetTopSynchronousMatch(
|
| + JNIEnv* env,
|
| + jobject obj,
|
| + jstring query);
|
| +
|
| // KeyedService:
|
| virtual void Shutdown() OVERRIDE;
|
|
|
| @@ -124,8 +129,9 @@ class AutocompleteControllerAndroid : public AutocompleteControllerDelegate,
|
| // Last input we sent to the autocomplete controller.
|
| AutocompleteInput input_;
|
|
|
| - // Whether we're currently inside a call to Classify().
|
| - bool inside_classify_;
|
| + // Whether we're currently inside a call to Start() that's called
|
| + // for Classify() or GetTopSynchronousMatch()
|
| + bool inside_synchronous_start_;
|
|
|
| JavaObjectWeakGlobalRef weak_java_autocomplete_controller_android_;
|
| Profile* profile_;
|
|
|