summaryrefslogtreecommitdiffstats
path: root/WebKit/android/WebCoreSupport/autofill/WebAutoFill.cpp
diff options
context:
space:
mode:
authorSteve Block <steveblock@google.com>2010-09-23 08:10:47 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2010-09-23 08:10:47 -0700
commit32eb9c0c90a8800cdb31fe31b75ee08817545a23 (patch)
tree2ed90670920f8542dec78f78bdfa8e9b403300a7 /WebKit/android/WebCoreSupport/autofill/WebAutoFill.cpp
parentd30d50ac7e37547923913d5475c96d1213c0776a (diff)
parent60e8df73fc6d110245987632be372eabd625344f (diff)
downloadexternal_webkit-32eb9c0c90a8800cdb31fe31b75ee08817545a23.zip
external_webkit-32eb9c0c90a8800cdb31fe31b75ee08817545a23.tar.gz
external_webkit-32eb9c0c90a8800cdb31fe31b75ee08817545a23.tar.bz2
Merge changes I359a952c,Idcafae15
* changes: Fix a bug that would cause the AutoFill server to return an error. Add more profile data to the canned profile.
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")));