Commit 61177b33 authored by Viktor Semeniuk's avatar Viktor Semeniuk Committed by Chromium LUCI CQ

[iOS] Added Change Password URLs Affiliation service feature to flags.

This features allows obtaining Change Password URLs from the Affiliation
Service. Also UseOfHashAffiliationFetcher enables usage of Affiliation
Service for non-synced uses.

Bug: 1154587
Change-Id: Ieab7624bf99ab645d33096b691b191b87e6fb71f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2567391
Commit-Queue: Viktor Semeniuk <vsemeniuk@google.com>
Reviewed-by: default avatarGauthier Ambard <gambard@chromium.org>
Cr-Commit-Position: refs/heads/master@{#840124}
parent 1d03d903
...@@ -587,6 +587,18 @@ const flags_ui::FeatureEntry kFeatureEntries[] = { ...@@ -587,6 +587,18 @@ const flags_ui::FeatureEntry kFeatureEntries[] = {
flag_descriptions::kIOSPersistCrashRestoreName, flag_descriptions::kIOSPersistCrashRestoreName,
flag_descriptions::kIOSPersistCrashRestoreDescription, flags_ui::kOsIos, flag_descriptions::kIOSPersistCrashRestoreDescription, flags_ui::kOsIos,
FEATURE_VALUE_TYPE(kIOSPersistCrashRestore)}, FEATURE_VALUE_TYPE(kIOSPersistCrashRestore)},
{"change-password-affiliation",
flag_descriptions::kChangePasswordAffiliationInfoName,
flag_descriptions::kChangePasswordAffiliationInfoDescription,
flags_ui::kOsIos,
FEATURE_VALUE_TYPE(
password_manager::features::kChangePasswordAffiliationInfo)},
{"use-of-hash-affiliation-fetcher",
flag_descriptions::kUseOfHashAffiliationFetcherName,
flag_descriptions::kUseOfHashAffiliationFetcherDescription,
flags_ui::kOsIos,
FEATURE_VALUE_TYPE(
password_manager::features::kUseOfHashAffiliationFetcher)},
}; };
bool SkipConditionalFeatureEntry(const flags_ui::FeatureEntry& entry) { bool SkipConditionalFeatureEntry(const flags_ui::FeatureEntry& entry) {
......
...@@ -108,6 +108,12 @@ const char kBreakpadNoDelayInitialUploadDescription[] = ...@@ -108,6 +108,12 @@ const char kBreakpadNoDelayInitialUploadDescription[] =
"disabled, initial upload is delayed until deferred initialization. This " "disabled, initial upload is delayed until deferred initialization. This "
"does not affect recovery mode."; "does not affect recovery mode.";
const char kChangePasswordAffiliationInfoName[] =
"Using Affiliation Service for Change Password URLs";
const char kChangePasswordAffiliationInfoDescription[] =
"In case site doesn't support /.well-known/change-password Chrome will try "
"to obtain it using Affiliation Service.";
const char kCollectionsCardPresentationStyleName[] = const char kCollectionsCardPresentationStyleName[] =
"Card style presentation for Collections."; "Card style presentation for Collections.";
const char kCollectionsCardPresentationStyleDescription[] = const char kCollectionsCardPresentationStyleDescription[] =
...@@ -433,6 +439,12 @@ const char kUseJSForErrorPageName[] = "Enable new error page workflow"; ...@@ -433,6 +439,12 @@ const char kUseJSForErrorPageName[] = "Enable new error page workflow";
const char kUseJSForErrorPageDescription[] = const char kUseJSForErrorPageDescription[] =
"Use JavaScript for the error pages"; "Use JavaScript for the error pages";
const char kUseOfHashAffiliationFetcherName[] =
"Use of Hash Affiliation Fetcher";
const char kUseOfHashAffiliationFetcherDescription[] =
"All requests to the affiliation fetcher are made through the hash prefix "
"lookup. Enables use of Hash Affiliation Service for non-synced users.";
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.";
......
...@@ -96,6 +96,11 @@ extern const char kSyntheticCrashReportsForUteDescription[]; ...@@ -96,6 +96,11 @@ extern const char kSyntheticCrashReportsForUteDescription[];
extern const char kBreakpadNoDelayInitialUploadName[]; extern const char kBreakpadNoDelayInitialUploadName[];
extern const char kBreakpadNoDelayInitialUploadDescription[]; extern const char kBreakpadNoDelayInitialUploadDescription[];
// Title and description for the flag to control if change password url should
// be obtained by affiliation service.
extern const char kChangePasswordAffiliationInfoName[];
extern const char kChangePasswordAffiliationInfoDescription[];
// Title and description for the flag that controls whether Collections are // Title and description for the flag that controls whether Collections are
// presented using the new iOS13 Card style or the custom legacy one. // presented using the new iOS13 Card style or the custom legacy one.
extern const char kCollectionsCardPresentationStyleName[]; extern const char kCollectionsCardPresentationStyleName[];
...@@ -374,6 +379,10 @@ extern const char kURLBlocklistIOSDescription[]; ...@@ -374,6 +379,10 @@ extern const char kURLBlocklistIOSDescription[];
extern const char kUseJSForErrorPageName[]; extern const char kUseJSForErrorPageName[];
extern const char kUseJSForErrorPageDescription[]; extern const char kUseJSForErrorPageDescription[];
// Title and description for the flag to enable use of hash affiliation service.
extern const char kUseOfHashAffiliationFetcherName[];
extern const char kUseOfHashAffiliationFetcherDescription[];
// 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