[omnibox] Breaks existing feature "OmniboxOnDeviceHeadProvider" into
two features used by non-incognito and incognito separately.
Tested on iPhone X.
Bug: 925072
Change-Id: I753fd676ec58b758e09d22ee35932ece5be2ae3b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2154441
Reviewed-by: Joshua Pawlicki <[email protected]>
Reviewed-by: Mark Pearson <[email protected]>
Reviewed-by: Tommy Li <[email protected]>
Commit-Queue: Ce Chen <[email protected]>
Cr-Commit-Position: refs/heads/master@{#762766}
diff --git a/components/omnibox/common/omnibox_features.h b/components/omnibox/common/omnibox_features.h
index 4f8d250..09a6feb5 100644
--- a/components/omnibox/common/omnibox_features.h
+++ b/components/omnibox/common/omnibox_features.h
@@ -38,7 +38,6 @@
extern const base::Feature kOmniboxDisableInstantExtendedLimit;
extern const base::Feature kOmniboxSearchEngineLogo;
extern const base::Feature kOmniboxRemoveSuggestionsFromClipboard;
-extern const base::Feature kOnDeviceHeadProvider;
extern const base::Feature kDebounceDocumentProvider;
// Flags that affect the "twiddle" step of AutocompleteResult, i.e. SortAndCull.
@@ -56,6 +55,10 @@
extern const base::Feature kZeroSuggestionsOnNTPRealbox;
extern const base::Feature kZeroSuggestionsOnSERP;
+// On Device Head Suggest.
+extern const base::Feature kOnDeviceHeadProviderIncognito;
+extern const base::Feature kOnDeviceHeadProviderNonIncognito;
+
// Scoring - these affect how relevance scores are calculated for suggestions.
extern const base::Feature kOmniboxExperimentalSuggestScoring;
extern const base::Feature kHistoryQuickProviderAllowButDoNotScoreMidwordTerms;