| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 #include "chrome/browser/android/omnibox/autocomplete_controller_android.h" | 5 #include "chrome/browser/android/omnibox/autocomplete_controller_android.h" |
| 6 | 6 |
| 7 #include <stddef.h> |
| 8 |
| 7 #include "base/android/jni_android.h" | 9 #include "base/android/jni_android.h" |
| 8 #include "base/android/jni_string.h" | 10 #include "base/android/jni_string.h" |
| 9 #include "base/prefs/pref_service.h" | 11 #include "base/prefs/pref_service.h" |
| 10 #include "base/strings/string16.h" | 12 #include "base/strings/string16.h" |
| 11 #include "base/strings/utf_string_conversions.h" | 13 #include "base/strings/utf_string_conversions.h" |
| 12 #include "base/time/time.h" | 14 #include "base/time/time.h" |
| 13 #include "base/timer/timer.h" | 15 #include "base/timer/timer.h" |
| 14 #include "chrome/browser/autocomplete/autocomplete_classifier_factory.h" | 16 #include "chrome/browser/autocomplete/autocomplete_classifier_factory.h" |
| 15 #include "chrome/browser/autocomplete/chrome_autocomplete_provider_client.h" | 17 #include "chrome/browser/autocomplete/chrome_autocomplete_provider_client.h" |
| 16 #include "chrome/browser/autocomplete/chrome_autocomplete_scheme_classifier.h" | 18 #include "chrome/browser/autocomplete/chrome_autocomplete_scheme_classifier.h" |
| (...skipping 550 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 567 return; | 569 return; |
| 568 | 570 |
| 569 // ZeroSuggestPrefetcher deletes itself after it's done prefetching. | 571 // ZeroSuggestPrefetcher deletes itself after it's done prefetching. |
| 570 new ZeroSuggestPrefetcher(profile); | 572 new ZeroSuggestPrefetcher(profile); |
| 571 } | 573 } |
| 572 | 574 |
| 573 // Register native methods | 575 // Register native methods |
| 574 bool RegisterAutocompleteControllerAndroid(JNIEnv* env) { | 576 bool RegisterAutocompleteControllerAndroid(JNIEnv* env) { |
| 575 return RegisterNativesImpl(env); | 577 return RegisterNativesImpl(env); |
| 576 } | 578 } |
| OLD | NEW |