Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(650)

Unified Diff: chrome/browser/autofill/autofill_download_unittest.cc

Issue 11867025: Download autocheckout whitelist and enable autocheckout for whitelisted sites only. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Pass autocheckout url prefix to FormStructure's constructor. Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/autofill/autofill_download_unittest.cc
diff --git a/chrome/browser/autofill/autofill_download_unittest.cc b/chrome/browser/autofill/autofill_download_unittest.cc
index aaaa66b4089396103e3e4b97197972d66cbef8f1..cff925e46ef082108d399df04d568574b993c4da 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);

Powered by Google App Engine
This is Rietveld 408576698