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

Side by Side Diff: chrome/browser/android/omnibox/autocomplete_controller_android.cc

Issue 393173002: Moves some functions in search.h to components. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: android fix 3 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/browser/about_flags.cc ('k') | chrome/browser/autocomplete/search_provider.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 "base/android/jni_android.h" 7 #include "base/android/jni_android.h"
8 #include "base/android/jni_string.h" 8 #include "base/android/jni_string.h"
9 #include "base/prefs/pref_service.h" 9 #include "base/prefs/pref_service.h"
10 #include "base/strings/string16.h" 10 #include "base/strings/string16.h"
(...skipping 19 matching lines...) Expand all
30 #include "chrome/browser/sessions/session_id.h" 30 #include "chrome/browser/sessions/session_id.h"
31 #include "chrome/browser/ui/search/instant_search_prerenderer.h" 31 #include "chrome/browser/ui/search/instant_search_prerenderer.h"
32 #include "chrome/browser/ui/toolbar/toolbar_model.h" 32 #include "chrome/browser/ui/toolbar/toolbar_model.h"
33 #include "chrome/common/instant_types.h" 33 #include "chrome/common/instant_types.h"
34 #include "chrome/common/pref_names.h" 34 #include "chrome/common/pref_names.h"
35 #include "chrome/common/url_constants.h" 35 #include "chrome/common/url_constants.h"
36 #include "components/autocomplete/autocomplete_input.h" 36 #include "components/autocomplete/autocomplete_input.h"
37 #include "components/autocomplete/autocomplete_match_type.h" 37 #include "components/autocomplete/autocomplete_match_type.h"
38 #include "components/keyed_service/content/browser_context_dependency_manager.h" 38 #include "components/keyed_service/content/browser_context_dependency_manager.h"
39 #include "components/metrics/proto/omnibox_event.pb.h" 39 #include "components/metrics/proto/omnibox_event.pb.h"
40 #include "components/search/search.h"
40 #include "components/search_engines/template_url_service.h" 41 #include "components/search_engines/template_url_service.h"
41 #include "content/public/browser/notification_details.h" 42 #include "content/public/browser/notification_details.h"
42 #include "content/public/browser/notification_service.h" 43 #include "content/public/browser/notification_service.h"
43 #include "content/public/browser/notification_source.h" 44 #include "content/public/browser/notification_source.h"
44 #include "content/public/browser/web_contents.h" 45 #include "content/public/browser/web_contents.h"
45 #include "content/public/common/url_constants.h" 46 #include "content/public/common/url_constants.h"
46 #include "jni/AutocompleteController_jni.h" 47 #include "jni/AutocompleteController_jni.h"
47 #include "net/base/escape.h" 48 #include "net/base/escape.h"
48 #include "net/base/net_util.h" 49 #include "net/base/net_util.h"
49 #include "net/base/registry_controlled_domains/registry_controlled_domain.h" 50 #include "net/base/registry_controlled_domains/registry_controlled_domain.h"
(...skipping 499 matching lines...) Expand 10 before | Expand all | Expand 10 after
549 return; 550 return;
550 551
551 // ZeroSuggestPrefetcher deletes itself after it's done prefetching. 552 // ZeroSuggestPrefetcher deletes itself after it's done prefetching.
552 new ZeroSuggestPrefetcher(profile); 553 new ZeroSuggestPrefetcher(profile);
553 } 554 }
554 555
555 // Register native methods 556 // Register native methods
556 bool RegisterAutocompleteControllerAndroid(JNIEnv* env) { 557 bool RegisterAutocompleteControllerAndroid(JNIEnv* env) {
557 return RegisterNativesImpl(env); 558 return RegisterNativesImpl(env);
558 } 559 }
OLDNEW
« no previous file with comments | « chrome/browser/about_flags.cc ('k') | chrome/browser/autocomplete/search_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698