summaryrefslogtreecommitdiffstats
path: root/WebKit/android/WebCoreSupport/autofill/WebAutoFill.cpp
diff options
context:
space:
mode:
authorBen Murdoch <benm@google.com>2010-09-14 16:56:38 +0100
committerSteve Block <steveblock@google.com>2010-09-23 16:06:54 +0100
commit0af298725e8a2e8722cc13dd324929dc6df06b73 (patch)
tree32c41a7fcdfb1e7f2bb624ae7b9765a1178b0cd0 /WebKit/android/WebCoreSupport/autofill/WebAutoFill.cpp
parent04733329309c264104dc4f923017a89a91d6e2db (diff)
downloadexternal_webkit-0af298725e8a2e8722cc13dd324929dc6df06b73.zip
external_webkit-0af298725e8a2e8722cc13dd324929dc6df06b73.tar.gz
external_webkit-0af298725e8a2e8722cc13dd324929dc6df06b73.tar.bz2
Add more profile data to the canned profile.
Change-Id: Idcafae151f6635394883fa45720cedd3b38bd9c8
Diffstat (limited to 'WebKit/android/WebCoreSupport/autofill/WebAutoFill.cpp')
-rw-r--r--WebKit/android/WebCoreSupport/autofill/WebAutoFill.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/WebKit/android/WebCoreSupport/autofill/WebAutoFill.cpp b/WebKit/android/WebCoreSupport/autofill/WebAutoFill.cpp
index 08d5e58..2046f46 100644
--- a/WebKit/android/WebCoreSupport/autofill/WebAutoFill.cpp
+++ b/WebKit/android/WebCoreSupport/autofill/WebAutoFill.cpp
@@ -59,6 +59,11 @@ WebAutoFill::WebAutoFill()
mAutoFillProfile = new AutoFillProfile();
mAutoFillProfile->SetInfo(AutoFillType(NAME_FULL), string16(ASCIIToUTF16("John Smith")));
mAutoFillProfile->SetInfo(AutoFillType(EMAIL_ADDRESS), string16(ASCIIToUTF16("jsmith@gmail.com")));
+ mAutoFillProfile->SetInfo(AutoFillType(ADDRESS_HOME_LINE1), string16(ASCIIToUTF16("123 Fake Street")));
+ mAutoFillProfile->SetInfo(AutoFillType(ADDRESS_HOME_LINE2), string16(ASCIIToUTF16("Somewhere")));
+ mAutoFillProfile->SetInfo(AutoFillType(ADDRESS_HOME_CITY), string16(ASCIIToUTF16("Faketown")));
+ mAutoFillProfile->SetInfo(AutoFillType(ADDRESS_HOME_STATE), string16(ASCIIToUTF16("CA")));
+ mAutoFillProfile->SetInfo(AutoFillType(ADDRESS_HOME_COUNTRY), string16(ASCIIToUTF16("Germany")));
mAutoFillProfile->SetInfo(AutoFillType(ADDRESS_HOME_ZIP), string16(ASCIIToUTF16("AB12 3DE")));
mAutoFillProfile->SetInfo(AutoFillType(PHONE_HOME_WHOLE_NUMBER), string16(ASCIIToUTF16("0123456789")));