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

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

Issue 2721993002: Omnibox - Make Clipboard Provider Enabled via an Experimental Feature (Closed)
Patch Set: rebase Created 3 years, 10 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/vr_shell/vr_omnibox.cc » ('j') | no next file with comments »
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 ec11a572e4a697ba816ccd04c31464dcccc3c142..f5755af2bae463fcee1d38970802367a1230591a 100644
--- a/chrome/browser/android/omnibox/autocomplete_controller_android.cc
+++ b/chrome/browser/android/omnibox/autocomplete_controller_android.cc
@@ -65,9 +65,6 @@ using metrics::OmniboxEventProto;
namespace {
-const int kAndroidAutocompleteProviders =
- AutocompleteClassifier::kDefaultOmniboxProviders;
-
/**
* A prefetcher class responsible for triggering zero suggest prefetch.
* The prefetch occurs as a side-effect of calling OnOmniboxFocused() on
@@ -127,7 +124,7 @@ AutocompleteControllerAndroid::AutocompleteControllerAndroid(Profile* profile)
: autocomplete_controller_(new AutocompleteController(
base::WrapUnique(new ChromeAutocompleteProviderClient(profile)),
this,
- kAndroidAutocompleteProviders)),
+ AutocompleteClassifier::DefaultOmniboxProviders())),
inside_synchronous_start_(false),
profile_(profile) {}
« no previous file with comments | « no previous file | chrome/browser/android/vr_shell/vr_omnibox.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698