[Passwords] Expose TryToShowTouchToFill in AutofillAgent
This change renames WebAutofillClient::HasFillData() to
TryToShowTouchToFill() and moves the corresponding implementation logic
to autofill::AutofillAgent and autofill::PasswordAutofillAgent. As a
consequence of this change the kTouchToFillAndroid moves from password
features to autofill features.
Bug: 957532
Change-Id: I302285e46437bae4682113e451c784f97d0851b2
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1702610
Reviewed-by: Daniel Cheng <[email protected]>
Reviewed-by: Vadym Doroshenko <[email protected]>
Commit-Queue: Jan Wilken Dörrie <[email protected]>
Cr-Commit-Position: refs/heads/master@{#679955}
diff --git a/chrome/browser/about_flags.cc b/chrome/browser/about_flags.cc
index 049708b9..0389149f 100644
--- a/chrome/browser/about_flags.cc
+++ b/chrome/browser/about_flags.cc
@@ -4109,7 +4109,7 @@
#if defined(OS_ANDROID)
{"touch-to-fill", flag_descriptions::kTouchToFillAndroidName,
flag_descriptions::kTouchToFillAndroidDescription, kOsAndroid,
- FEATURE_VALUE_TYPE(password_manager::features::kTouchToFillAndroid)},
+ FEATURE_VALUE_TYPE(autofill::features::kTouchToFillAndroid)},
#endif // defined(OS_ANDROID)
{"enable-sync-uss-nigori", flag_descriptions::kEnableSyncUSSNigoriName,