summaryrefslogtreecommitdiffstats
path: root/chrome/browser/autofill/autofill_download_unittest.cc
diff options
context:
space:
mode:
authorbenquan@chromium.org <benquan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-02-12 01:06:23 +0000
committerbenquan@chromium.org <benquan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-02-12 01:06:23 +0000
commit685d497857e390dbdb203e2fdf6ad9b9f4484e37 (patch)
treeda5c7eb45c07791965aef9518ffa5a790590f454 /chrome/browser/autofill/autofill_download_unittest.cc
parent7b7867d37c6bd2d259adfffbddb39e9d9b3af66e (diff)
downloadchromium_src-685d497857e390dbdb203e2fdf6ad9b9f4484e37.zip
chromium_src-685d497857e390dbdb203e2fdf6ad9b9f4484e37.tar.gz
chromium_src-685d497857e390dbdb203e2fdf6ad9b9f4484e37.tar.bz2
Download autocheckout whitelist and enable autocheckout for whitelisted sites only.
BUG=170945 Review URL: https://chromiumcodereview.appspot.com/11867025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@181800 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/autofill/autofill_download_unittest.cc')
-rw-r--r--chrome/browser/autofill/autofill_download_unittest.cc12
1 files changed, 6 insertions, 6 deletions
diff --git a/chrome/browser/autofill/autofill_download_unittest.cc b/chrome/browser/autofill/autofill_download_unittest.cc
index aaaa66b..cff925e 100644
--- a/chrome/browser/autofill/autofill_download_unittest.cc
+++ b/chrome/browser/autofill/autofill_download_unittest.cc
@@ -179,7 +179,7 @@ TEST_F(AutofillDownloadTest, QueryAndUploadTest) {
field.form_control_type = "submit";
form.fields.push_back(field);
- FormStructure *form_structure = new FormStructure(form);
+ FormStructure *form_structure = new FormStructure(form, std::string());
ScopedVector<FormStructure> form_structures;
form_structures.push_back(form_structure);
@@ -205,7 +205,7 @@ TEST_F(AutofillDownloadTest, QueryAndUploadTest) {
field.form_control_type = "submit";
form.fields.push_back(field);
- form_structure = new FormStructure(form);
+ form_structure = new FormStructure(form, std::string());
form_structures.push_back(form_structure);
// Request with id 0.
@@ -298,7 +298,7 @@ TEST_F(AutofillDownloadTest, QueryAndUploadTest) {
field.name = ASCIIToUTF16("address2");
field.form_control_type = "text";
form.fields.push_back(field);
- form_structure = new FormStructure(form);
+ form_structure = new FormStructure(form, std::string());
form_structures.push_back(form_structure);
// Request with id 3.
@@ -370,7 +370,7 @@ TEST_F(AutofillDownloadTest, CacheQueryTest) {
field.name = ASCIIToUTF16("lastname");
form.fields.push_back(field);
- FormStructure *form_structure = new FormStructure(form);
+ FormStructure *form_structure = new FormStructure(form, std::string());
ScopedVector<FormStructure> form_structures0;
form_structures0.push_back(form_structure);
@@ -378,7 +378,7 @@ TEST_F(AutofillDownloadTest, CacheQueryTest) {
field.label = ASCIIToUTF16("email");
field.name = ASCIIToUTF16("email");
form.fields.push_back(field);
- form_structure = new FormStructure(form);
+ form_structure = new FormStructure(form, std::string());
ScopedVector<FormStructure> form_structures1;
form_structures1.push_back(form_structure);
@@ -387,7 +387,7 @@ TEST_F(AutofillDownloadTest, CacheQueryTest) {
field.label = ASCIIToUTF16("email2");
field.name = ASCIIToUTF16("email2");
form.fields.push_back(field);
- form_structure = new FormStructure(form);
+ form_structure = new FormStructure(form, std::string());
ScopedVector<FormStructure> form_structures2;
form_structures2.push_back(form_structure);