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

Unified Diff: components/omnibox/browser/omnibox_field_trial.h

Issue 2965173002: Add ContextualSuggestionsService to Omnibox (Closed)
Patch Set: Created 3 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
Index: components/omnibox/browser/omnibox_field_trial.h
diff --git a/components/omnibox/browser/omnibox_field_trial.h b/components/omnibox/browser/omnibox_field_trial.h
index 43a8c60a70b54a6846f55bf2dba2cf5a37b8b973..f5da72f6e49e6371cf381547751c0046d0692465 100644
--- a/components/omnibox/browser/omnibox_field_trial.h
+++ b/components/omnibox/browser/omnibox_field_trial.h
@@ -32,7 +32,6 @@ extern const base::Feature kAndroidFakeboxDemotion;
extern const base::Feature kAndroidFakeboxDemotionOnPhones;
extern const base::Feature kSearchProviderWarmUpOnFocus;
extern const base::Feature kSearchProviderContextAllowHttpsUrls;
-extern const base::Feature kZeroSuggestRedirectToChrome;
extern const base::Feature kZeroSuggestSwapTitleAndUrl;
extern const base::Feature kDisplayTitleForCurrentUrl;
extern const base::Feature kUIExperimentElideSuggestionUrlAfterHost;
@@ -425,26 +424,6 @@ class OmniboxFieldTrial {
// the user has started typing in the omnibox.
static int GetPhysicalWebAfterTypingBaseRelevance();
- // ---------------------------------------------------------
- // For experiment redirecting zero suggest requests to a service provided by
- // the Chrome team.
-
- // Returns true whether the user is in the field trial which redirects zero
- // suggest requests to the service provided by the Chrome team.
- static bool InZeroSuggestRedirectToChromeFieldTrial();
-
- // Returns a string representing the address of the server where the zero
- // suggest requests are being redirected. The return value is a URL
- // (https://example.com/test) and it doesn't include any query component
- // (no "?").
- static std::string ZeroSuggestRedirectToChromeServerAddress();
-
- // Returns a string representing the parameters that are sent to the
- // alternative service providing zero suggestions. The returned value is
- // properly escaped. It can be appended to the string representaiton of a
- // request URL.
- static std::string ZeroSuggestRedirectToChromeAdditionalFields();
-
// ---------------------------------------------------------
// Clipboard URL suggestions:
@@ -514,11 +493,6 @@ class OmniboxFieldTrial {
static const char kPhysicalWebZeroSuggestBaseRelevanceParam[];
static const char kPhysicalWebAfterTypingBaseRelevanceParam[];
- // Parameter names used by the experiment redirecting Zero Suggestion requests
- // to a service provided by the Chrome team.
- static const char kZeroSuggestRedirectToChromeServerAddressParam[];
- static const char kZeroSuggestRedirectToChromeAdditionalFieldsParam[];
-
// Parameter names used by UI experiments.
static const char kUIMaxAutocompleteMatchesParam[];
static const char kUIVerticalMarginParam[];

Powered by Google App Engine
This is Rietveld 408576698