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

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

Issue 454583002: Cleanup: Remove unneeded #includes for grit/, ui/base/l10n/l10n_util.h and ui/base/resource/resourc… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix Cros some more Created 6 years, 4 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
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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 #include "components/search_engines/template_url_service.h" 43 #include "components/search_engines/template_url_service.h"
44 #include "content/public/browser/notification_details.h" 44 #include "content/public/browser/notification_details.h"
45 #include "content/public/browser/notification_service.h" 45 #include "content/public/browser/notification_service.h"
46 #include "content/public/browser/notification_source.h" 46 #include "content/public/browser/notification_source.h"
47 #include "content/public/browser/web_contents.h" 47 #include "content/public/browser/web_contents.h"
48 #include "content/public/common/url_constants.h" 48 #include "content/public/common/url_constants.h"
49 #include "jni/AutocompleteController_jni.h" 49 #include "jni/AutocompleteController_jni.h"
50 #include "net/base/escape.h" 50 #include "net/base/escape.h"
51 #include "net/base/net_util.h" 51 #include "net/base/net_util.h"
52 #include "net/base/registry_controlled_domains/registry_controlled_domain.h" 52 #include "net/base/registry_controlled_domains/registry_controlled_domain.h"
53 #include "ui/base/resource/resource_bundle.h"
54 53
55 using base::android::AttachCurrentThread; 54 using base::android::AttachCurrentThread;
56 using base::android::ConvertJavaStringToUTF16; 55 using base::android::ConvertJavaStringToUTF16;
57 using base::android::ConvertUTF8ToJavaString; 56 using base::android::ConvertUTF8ToJavaString;
58 using base::android::ConvertUTF16ToJavaString; 57 using base::android::ConvertUTF16ToJavaString;
59 using metrics::OmniboxEventProto; 58 using metrics::OmniboxEventProto;
60 59
61 namespace { 60 namespace {
62 61
63 const int kAndroidAutocompleteProviders = 62 const int kAndroidAutocompleteProviders =
(...skipping 489 matching lines...) Expand 10 before | Expand all | Expand 10 after
553 return; 552 return;
554 553
555 // ZeroSuggestPrefetcher deletes itself after it's done prefetching. 554 // ZeroSuggestPrefetcher deletes itself after it's done prefetching.
556 new ZeroSuggestPrefetcher(profile); 555 new ZeroSuggestPrefetcher(profile);
557 } 556 }
558 557
559 // Register native methods 558 // Register native methods
560 bool RegisterAutocompleteControllerAndroid(JNIEnv* env) { 559 bool RegisterAutocompleteControllerAndroid(JNIEnv* env) {
561 return RegisterNativesImpl(env); 560 return RegisterNativesImpl(env);
562 } 561 }
OLDNEW
« no previous file with comments | « chrome/app/chrome_main_delegate.cc ('k') | chrome/browser/android/provider/chrome_browser_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698