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

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

Issue 1260033003: Partially componentize //chrome/browser/search/search.{h,cc} (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 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
« no previous file with comments | « no previous file | chrome/browser/android/tab_android.cc » ('j') | components/search/search.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 fdea013ff9b00729451374458ea69c679dd6c916..dd21695fa6028d3ddfc517160fea4f7da1d49726 100644
--- a/chrome/browser/android/omnibox/autocomplete_controller_android.cc
+++ b/chrome/browser/android/omnibox/autocomplete_controller_android.cc
@@ -337,8 +337,8 @@ void AutocompleteControllerAndroid::OnResultChanged(
const AutocompleteResult::const_iterator default_match(
result.default_match());
if ((default_match != result.end()) && default_match_changed &&
- chrome::IsInstantExtendedAPIEnabled() &&
- chrome::ShouldPrefetchSearchResults()) {
+ search::IsInstantExtendedAPIEnabled() &&
+ search::ShouldPrefetchSearchResults()) {
InstantSuggestion prefetch_suggestion;
// If the default match should be prefetched, do that.
if (SearchProvider::ShouldPrefetch(*default_match)) {
« no previous file with comments | « no previous file | chrome/browser/android/tab_android.cc » ('j') | components/search/search.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698