summaryrefslogtreecommitdiffstats
path: root/android_webview/native
diff options
context:
space:
mode:
authorzysxqn@google.com <zysxqn@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2013-09-06 20:36:40 +0000
committerzysxqn@google.com <zysxqn@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2013-09-06 20:36:40 +0000
commit375564a1b01f39bcf8a4d4314445d17b606eb4c2 (patch)
tree5e5069efc434eec5bfa494898a28d4298c90ab3d /android_webview/native
parenta15f140a949146c118da9847ba26ea55af71cac2 (diff)
downloadchromium_src-375564a1b01f39bcf8a4d4314445d17b606eb4c2.zip
chromium_src-375564a1b01f39bcf8a4d4314445d17b606eb4c2.tar.gz
chromium_src-375564a1b01f39bcf8a4d4314445d17b606eb4c2.tar.bz2
Generate passwords only for the forms that autofill server classifies one of its fields as ACCOUNT_CREATION_PASSWORD.
BUG= Review URL: https://chromiumcodereview.appspot.com/23432002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@221773 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'android_webview/native')
-rw-r--r--android_webview/native/aw_autofill_manager_delegate.cc3
-rw-r--r--android_webview/native/aw_autofill_manager_delegate.h2
2 files changed, 5 insertions, 0 deletions
diff --git a/android_webview/native/aw_autofill_manager_delegate.cc b/android_webview/native/aw_autofill_manager_delegate.cc
index 25572b02..6feca2c 100644
--- a/android_webview/native/aw_autofill_manager_delegate.cc
+++ b/android_webview/native/aw_autofill_manager_delegate.cc
@@ -151,6 +151,9 @@ bool AwAutofillManagerDelegate::IsAutocompleteEnabled() {
return GetSaveFormData();
}
+void AwAutofillManagerDelegate::DetectAccountCreationForms(
+ const std::vector<autofill::FormStructure*>& forms) {}
+
void AwAutofillManagerDelegate::SuggestionSelected(JNIEnv* env,
jobject object,
jint position) {
diff --git a/android_webview/native/aw_autofill_manager_delegate.h b/android_webview/native/aw_autofill_manager_delegate.h
index f325f95..b2bef36 100644
--- a/android_webview/native/aw_autofill_manager_delegate.h
+++ b/android_webview/native/aw_autofill_manager_delegate.h
@@ -83,6 +83,8 @@ class AwAutofillManagerDelegate
const std::vector<base::string16>& labels) OVERRIDE;
virtual void HideAutofillPopup() OVERRIDE;
virtual bool IsAutocompleteEnabled() OVERRIDE;
+ virtual void DetectAccountCreationForms(
+ const std::vector<autofill::FormStructure*>& forms) OVERRIDE;
void SuggestionSelected(JNIEnv* env,
jobject obj,