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

Side by Side Diff: components/autofill/core/browser/autofill_test_utils.h

Issue 2640783002: [Password Generation] Send id attribute to server for HTML based form classifier (Closed)
Patch Set: Fixed failed test Created 3 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 unified diff | Download patch
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_TEST_UTILS_H_ 5 #ifndef COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_TEST_UTILS_H_
6 #define COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_TEST_UTILS_H_ 6 #define COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_TEST_UTILS_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
125 const std::vector<CreditCard>& cards); 125 const std::vector<CreditCard>& cards);
126 126
127 // Fills the upload |field| with the information passed by parameter. If the 127 // Fills the upload |field| with the information passed by parameter. If the
128 // value of a const char* parameter is NULL, the corresponding attribute won't 128 // value of a const char* parameter is NULL, the corresponding attribute won't
129 // be set at all, as opposed to being set to empty string. 129 // be set at all, as opposed to being set to empty string.
130 void FillUploadField(AutofillUploadContents::Field* field, 130 void FillUploadField(AutofillUploadContents::Field* field,
131 unsigned signature, 131 unsigned signature,
132 const char* name, 132 const char* name,
133 const char* control_type, 133 const char* control_type,
134 const char* autocomplete, 134 const char* autocomplete,
135 unsigned autofill_type, 135 unsigned autofill_type);
136 const char* css_classes);
137 136
138 // Fills the query form |field| with the information passed by parameter. If the 137 // Fills the query form |field| with the information passed by parameter. If the
139 // value of a const char* parameter is NULL, the corresponding attribute won't 138 // value of a const char* parameter is NULL, the corresponding attribute won't
140 // be set at all, as opposed to being set to empty string. 139 // be set at all, as opposed to being set to empty string.
141 void FillQueryField(AutofillQueryContents::Form::Field* field, 140 void FillQueryField(AutofillQueryContents::Form::Field* field,
142 unsigned signature, 141 unsigned signature,
143 const char* name, 142 const char* name,
144 const char* control_type); 143 const char* control_type);
145 144
146 } // namespace test 145 } // namespace test
147 } // namespace autofill 146 } // namespace autofill
148 147
149 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_TEST_UTILS_H_ 148 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_TEST_UTILS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698