Commit c9f4757c authored by Gauthier Ambard's avatar Gauthier Ambard Committed by Commit Bot

[iOS] Remove unused flag descriptions

This CL removes the flag names and descriptions that were no longer
used.

Bug: none
Change-Id: I61b056b85ecdd29b1849892d16714b7538d52047
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1780823
Auto-Submit: Gauthier Ambard <gambard@chromium.org>
Reviewed-by: default avatarMark Cogan <marq@chromium.org>
Commit-Queue: Gauthier Ambard <gambard@chromium.org>
Cr-Commit-Position: refs/heads/master@{#692419}
parent 4a9deef9
...@@ -116,10 +116,6 @@ const char kBrowserContainerKeepsContentViewDescription[] = ...@@ -116,10 +116,6 @@ const char kBrowserContainerKeepsContentViewDescription[] =
"When enable, the browser container keeps the content view in the view " "When enable, the browser container keeps the content view in the view "
"hierarchy, to avoid WKWebView from being unloaded from the process."; "hierarchy, to avoid WKWebView from being unloaded from the process.";
const char kBrowserTaskScheduler[] = "Task Scheduler";
const char kBrowserTaskSchedulerDescription[] =
"Enables redirection of some task posting APIs to the task scheduler.";
// TODO(crbug.com/893314) : Remove this flag. // TODO(crbug.com/893314) : Remove this flag.
const char kClosingLastIncognitoTabName[] = "Closing Last Incognito Tab"; const char kClosingLastIncognitoTabName[] = "Closing Last Incognito Tab";
const char kClosingLastIncognitoTabDescription[] = const char kClosingLastIncognitoTabDescription[] =
...@@ -132,10 +128,6 @@ const char kCollectionsCardPresentationStyleDescription[] = ...@@ -132,10 +128,6 @@ const char kCollectionsCardPresentationStyleDescription[] =
"When enabled collections are presented using the new iOS13 card " "When enabled collections are presented using the new iOS13 card "
"style."; "style.";
const char kContextualSearch[] = "Contextual Search";
const char kContextualSearchDescription[] =
"Whether or not Contextual Search is enabled.";
const char kCopiedContentBehaviorName[] = const char kCopiedContentBehaviorName[] =
"Enable differentiating between copied urls, text, and images"; "Enable differentiating between copied urls, text, and images";
const char kCopiedContentBehaviorDescription[] = const char kCopiedContentBehaviorDescription[] =
...@@ -157,31 +149,11 @@ const char kDetectMainThreadFreezeDescription[] = ...@@ -157,31 +149,11 @@ const char kDetectMainThreadFreezeDescription[] =
const char kDragAndDropName[] = "Drag and Drop"; const char kDragAndDropName[] = "Drag and Drop";
const char kDragAndDropDescription[] = "Enable support for drag and drop."; const char kDragAndDropDescription[] = "Enable support for drag and drop.";
const char kEnableAutocompleteDataRetentionPolicyName[] =
"Enable automatic cleanup of expired Autocomplete entries.";
const char kEnableAutocompleteDataRetentionPolicyDescription[] =
"If enabled, will clean-up Autocomplete entries whose last use date is "
"older than the current retention policy. These entries will be "
"permanently deleted from the client on startup, and will be unlinked "
"from sync.";
const char kEnableAutofillCreditCardUploadUpdatePromptExplanationName[] =
"Enable updated prompt explanation when offering credit card upload";
const char kEnableAutofillCreditCardUploadUpdatePromptExplanationDescription[] =
"If enabled, changes the server save card prompt's explanation to mention "
"the saving of the billing address.";
const char kEnableAutofillSaveCardShowNoThanksName[] = const char kEnableAutofillSaveCardShowNoThanksName[] =
"Show explicit decline option in credit card save prompts"; "Show explicit decline option in credit card save prompts";
const char kEnableAutofillSaveCardShowNoThanksDescription[] = const char kEnableAutofillSaveCardShowNoThanksDescription[] =
"If enabled, adds a [No thanks] button to credit card save prompts."; "If enabled, adds a [No thanks] button to credit card save prompts.";
const char kEnableAutofillSaveCreditCardUsesStrikeSystemName[] =
"Enable limit on offering to save the same credit card repeatedly";
const char kEnableAutofillSaveCreditCardUsesStrikeSystemDescription[] =
"If enabled, prevents popping up the credit card offer-to-save prompt if "
"it has repeatedly been ignored, declined, or failed.";
const char kEnableAutofillImportDynamicFormsName[] = const char kEnableAutofillImportDynamicFormsName[] =
"Allow credit card import from dynamic forms after entry"; "Allow credit card import from dynamic forms after entry";
const char kEnableAutofillImportDynamicFormsDescription[] = const char kEnableAutofillImportDynamicFormsDescription[] =
...@@ -226,11 +198,6 @@ const char kFullscreenViewportAdjustmentExperimentDescription[] = ...@@ -226,11 +198,6 @@ const char kFullscreenViewportAdjustmentExperimentDescription[] =
"The different ways in which the web view's viewport is updated for scroll " "The different ways in which the web view's viewport is updated for scroll "
"events. The default option updates the web view's frame."; "events. The default option updates the web view's frame.";
const char kHistoryBatchUpdatesFilterName[] = "History Single Batch Filtering";
const char kHistoryBatchUpdatesFilterDescription[] =
"When enabled History inserts and deletes history items in the same "
"BatchUpdates block.";
const char kIdentityDiscName[] = "Identity Disc"; const char kIdentityDiscName[] = "Identity Disc";
const char kIdentityDiscDescription[] = const char kIdentityDiscDescription[] =
"Enables Identity Disc, profile avatar icon button in toolbar."; "Enables Identity Disc, profile avatar icon button in toolbar.";
...@@ -289,17 +256,6 @@ const char kOmniboxPopupShortcutIconsInZeroStateDescription[] = ...@@ -289,17 +256,6 @@ const char kOmniboxPopupShortcutIconsInZeroStateDescription[] =
"Instead of ZeroSuggest, show most visited sites and collection shortcuts " "Instead of ZeroSuggest, show most visited sites and collection shortcuts "
"in the omnibox popup."; "in the omnibox popup.";
const char kOmniboxTabSwitchSuggestionsName[] =
"Enable 'switch to this tab' option";
const char kOmniboxTabSwitchSuggestionsDescription[] =
"Enable the 'switch to this tab' options in the omnibox suggestions.";
const char kOmniboxUIElideSuggestionUrlAfterHostName[] =
"Hide the path, query, and ref of omnibox suggestions";
const char kOmniboxUIElideSuggestionUrlAfterHostDescription[] =
"Elides the path, query, and ref of suggested URLs in the omnibox "
"dropdown.";
const char kOmniboxUIMaxAutocompleteMatchesName[] = const char kOmniboxUIMaxAutocompleteMatchesName[] =
"Omnibox UI Max Autocomplete Matches"; "Omnibox UI Max Autocomplete Matches";
const char kOmniboxUIMaxAutocompleteMatchesDescription[] = const char kOmniboxUIMaxAutocompleteMatchesDescription[] =
...@@ -323,10 +279,6 @@ const char kOptionalArticleThumbnailDescription[] = ...@@ -323,10 +279,6 @@ const char kOptionalArticleThumbnailDescription[] =
"Make thumbnails of NTP articles optional due to European copyright " "Make thumbnails of NTP articles optional due to European copyright "
"directive(EUCD). Also change the layout of article cells"; "directive(EUCD). Also change the layout of article cells";
const char kPasswordGenerationName[] = "Password generation suggestion";
const char kPasswordGenerationDescription[] =
"Add 'Suggest Password' in suggestion list for form completion.";
const char kSearchIconToggleName[] = "Change the icon for the search button"; const char kSearchIconToggleName[] = "Change the icon for the search button";
const char kSearchIconToggleDescription[] = const char kSearchIconToggleDescription[] =
"Different icons for the search button."; "Different icons for the search button.";
...@@ -406,11 +358,6 @@ const char kUseMultiloginEndpointName[] = "Use Multilogin endpoint."; ...@@ -406,11 +358,6 @@ const char kUseMultiloginEndpointName[] = "Use Multilogin endpoint.";
const char kUseMultiloginEndpointDescription[] = const char kUseMultiloginEndpointDescription[] =
"Use Gaia OAuth multilogin for identity consistency."; "Use Gaia OAuth multilogin for identity consistency.";
const char kUseNSURLSessionForGaiaSigninRequestsName[] =
"Use NSURLSession for sign-in requests";
const char kUseNSURLSessionForGaiaSigninRequestsDescription[] =
"Use NSURLSession to make sign-in requests to Gaia";
const char kWalletServiceUseSandboxName[] = "Use Google Payments sandbox"; const char kWalletServiceUseSandboxName[] = "Use Google Payments sandbox";
const char kWalletServiceUseSandboxDescription[] = const char kWalletServiceUseSandboxDescription[] =
"Uses the sandbox service for Google Payments API calls."; "Uses the sandbox service for Google Payments API calls.";
......
...@@ -87,11 +87,6 @@ extern const char kBreakpadNoDelayInitialUploadDescription[]; ...@@ -87,11 +87,6 @@ extern const char kBreakpadNoDelayInitialUploadDescription[];
extern const char kBrowserContainerKeepsContentViewName[]; extern const char kBrowserContainerKeepsContentViewName[];
extern const char kBrowserContainerKeepsContentViewDescription[]; extern const char kBrowserContainerKeepsContentViewDescription[];
// Title and description for the flag to control redirection to the task
// scheduler.
extern const char kBrowserTaskScheduler[];
extern const char kBrowserTaskSchedulerDescription[];
// Title and description for the flag to enable automatically switching to the // Title and description for the flag to enable automatically switching to the
// regular tabs after closing the last incognito tab. // regular tabs after closing the last incognito tab.
extern const char kClosingLastIncognitoTabName[]; extern const char kClosingLastIncognitoTabName[];
...@@ -102,10 +97,6 @@ extern const char kClosingLastIncognitoTabDescription[]; ...@@ -102,10 +97,6 @@ extern const char kClosingLastIncognitoTabDescription[];
extern const char kCollectionsCardPresentationStyleName[]; extern const char kCollectionsCardPresentationStyleName[];
extern const char kCollectionsCardPresentationStyleDescription[]; extern const char kCollectionsCardPresentationStyleDescription[];
// Title and description for the flag to enable Contextual Search.
extern const char kContextualSearch[];
extern const char kContextualSearchDescription[];
// Title and description for the flag to diffentiate between copied // Title and description for the flag to diffentiate between copied
// urls, strings, and images. // urls, strings, and images.
extern const char kCopiedContentBehaviorName[]; extern const char kCopiedContentBehaviorName[];
...@@ -126,28 +117,11 @@ extern const char kDetectMainThreadFreezeDescription[]; ...@@ -126,28 +117,11 @@ extern const char kDetectMainThreadFreezeDescription[];
extern const char kDragAndDropName[]; extern const char kDragAndDropName[];
extern const char kDragAndDropDescription[]; extern const char kDragAndDropDescription[];
// Title and description for the flag to control the autocomplete retention
// policy.
extern const char kEnableAutocompleteDataRetentionPolicyName[];
extern const char kEnableAutocompleteDataRetentionPolicyDescription[];
// Title and description for the flag to control the updated prompt explanation
// when offering credit card upload.
extern const char kEnableAutofillCreditCardUploadUpdatePromptExplanationName[];
extern const char
kEnableAutofillCreditCardUploadUpdatePromptExplanationDescription[];
// Title and description for the flag to control if no thanks button should be // Title and description for the flag to control if no thanks button should be
// shown when saving a card. // shown when saving a card.
extern const char kEnableAutofillSaveCardShowNoThanksName[]; extern const char kEnableAutofillSaveCardShowNoThanksName[];
extern const char kEnableAutofillSaveCardShowNoThanksDescription[]; extern const char kEnableAutofillSaveCardShowNoThanksDescription[];
// Title and description for the flag to control if credit card save should
// utilize the Autofill StrikeDatabase when determining whether save
// should be offered.
extern const char kEnableAutofillSaveCreditCardUsesStrikeSystemName[];
extern const char kEnableAutofillSaveCreditCardUsesStrikeSystemDescription[];
// Title and description for the flag to control the credit card import from // Title and description for the flag to control the credit card import from
// dynamic forms. // dynamic forms.
extern const char kEnableAutofillImportDynamicFormsName[]; extern const char kEnableAutofillImportDynamicFormsName[];
...@@ -186,10 +160,6 @@ extern const char kFindInPageiFrameDescription[]; ...@@ -186,10 +160,6 @@ extern const char kFindInPageiFrameDescription[];
extern const char kFullscreenViewportAdjustmentExperimentName[]; extern const char kFullscreenViewportAdjustmentExperimentName[];
extern const char kFullscreenViewportAdjustmentExperimentDescription[]; extern const char kFullscreenViewportAdjustmentExperimentDescription[];
// Title and description for the flag to enable History batch filtering.
extern const char kHistoryBatchUpdatesFilterName[];
extern const char kHistoryBatchUpdatesFilterDescription[];
// Title and description for the flag to display current user identity on // Title and description for the flag to display current user identity on
// New Tab Page. // New Tab Page.
extern const char kIdentityDiscName[]; extern const char kIdentityDiscName[];
...@@ -243,16 +213,6 @@ extern const char kOfflineVersionWithoutNativeContentDescription[]; ...@@ -243,16 +213,6 @@ extern const char kOfflineVersionWithoutNativeContentDescription[];
extern const char kOmniboxPopupShortcutIconsInZeroStateName[]; extern const char kOmniboxPopupShortcutIconsInZeroStateName[];
extern const char kOmniboxPopupShortcutIconsInZeroStateDescription[]; extern const char kOmniboxPopupShortcutIconsInZeroStateDescription[];
// Title and description for the flag to enable the "switch to this tab" option
// in the omnibox suggestion. It doesn't add new suggestions.
extern const char kOmniboxTabSwitchSuggestionsName[];
extern const char kOmniboxTabSwitchSuggestionsDescription[];
// Title and description for the flag to enable elision of the URL path, query,
// and ref in omnibox URL suggestions.
extern const char kOmniboxUIElideSuggestionUrlAfterHostName[];
extern const char kOmniboxUIElideSuggestionUrlAfterHostDescription[];
// Title and description for the flag to change the max number of autocomplete // Title and description for the flag to change the max number of autocomplete
// matches in the omnibox popup. // matches in the omnibox popup.
extern const char kOmniboxUIMaxAutocompleteMatchesName[]; extern const char kOmniboxUIMaxAutocompleteMatchesName[];
...@@ -273,10 +233,6 @@ extern const char kOmniboxOnDeviceHeadSuggestionsDescription[]; ...@@ -273,10 +233,6 @@ extern const char kOmniboxOnDeviceHeadSuggestionsDescription[];
extern const char kOptionalArticleThumbnailName[]; extern const char kOptionalArticleThumbnailName[];
extern const char kOptionalArticleThumbnailDescription[]; extern const char kOptionalArticleThumbnailDescription[];
// Title and description for the flag to enable password generation.
extern const char kPasswordGenerationName[];
extern const char kPasswordGenerationDescription[];
// Title and description for the flag to toggle the flag of the search button. // Title and description for the flag to toggle the flag of the search button.
extern const char kSearchIconToggleName[]; extern const char kSearchIconToggleName[];
extern const char kSearchIconToggleDescription[]; extern const char kSearchIconToggleDescription[];
...@@ -338,10 +294,6 @@ extern const char kToolbarContainerDescription[]; ...@@ -338,10 +294,6 @@ extern const char kToolbarContainerDescription[];
extern const char kToolbarNewTabButtonName[]; extern const char kToolbarNewTabButtonName[];
extern const char kToolbarNewTabButtonDescription[]; extern const char kToolbarNewTabButtonDescription[];
// Title and description for the flag to control manual translate trigger.
extern const char kTranslateManualTriggerName[];
extern const char kTranslateManualTriggerDescription[];
// Title and description for the flag to enable the unified consent. // Title and description for the flag to enable the unified consent.
extern const char kUnifiedConsentName[]; extern const char kUnifiedConsentName[];
extern const char kUnifiedConsentDescription[]; extern const char kUnifiedConsentDescription[];
...@@ -355,11 +307,6 @@ extern const char kUseDdljsonApiDescription[]; ...@@ -355,11 +307,6 @@ extern const char kUseDdljsonApiDescription[];
extern const char kUseMultiloginEndpointName[]; extern const char kUseMultiloginEndpointName[];
extern const char kUseMultiloginEndpointDescription[]; extern const char kUseMultiloginEndpointDescription[];
// Title and description for the flag to switch from WKWebView to NSURLSession
// to make sign-in requests to Gaia with attached cookies.
extern const char kUseNSURLSessionForGaiaSigninRequestsName[];
extern const char kUseNSURLSessionForGaiaSigninRequestsDescription[];
// Title and description for the flag to control if Google Payments API calls // Title and description for the flag to control if Google Payments API calls
// should use the sandbox servers. // should use the sandbox servers.
extern const char kWalletServiceUseSandboxName[]; extern const char kWalletServiceUseSandboxName[];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment