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

Side by Side Diff: chrome/browser/autofill/form_structure.h

Issue 2941009: AutoFill: Only send credit card data suggestions on HTTPS sites. (Closed)
Patch Set: Created 10 years, 5 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
« no previous file with comments | « chrome/browser/autofill/autofill_manager_unittest.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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 CHROME_BROWSER_AUTOFILL_FORM_STRUCTURE_H_ 5 #ifndef CHROME_BROWSER_AUTOFILL_FORM_STRUCTURE_H_
6 #define CHROME_BROWSER_AUTOFILL_FORM_STRUCTURE_H_ 6 #define CHROME_BROWSER_AUTOFILL_FORM_STRUCTURE_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 // The source URL. 130 // The source URL.
131 GURL source_url_; 131 GURL source_url_;
132 132
133 // The target URL. 133 // The target URL.
134 GURL target_url_; 134 GURL target_url_;
135 135
136 bool has_credit_card_field_; 136 bool has_credit_card_field_;
137 bool has_autofillable_field_; 137 bool has_autofillable_field_;
138 bool has_password_fields_; 138 bool has_password_fields_;
139 139
140 // The number of fields able to be autofilled. 140 // The number of fields able to be auto-filled.
141 size_t autofill_count_; 141 size_t autofill_count_;
142 142
143 // A vector of all the input fields in the form. The vector is terminated by 143 // A vector of all the input fields in the form. The vector is terminated by
144 // a NULL entry. 144 // a NULL entry.
145 ScopedVector<AutoFillField> fields_; 145 ScopedVector<AutoFillField> fields_;
146 146
147 // The names of the form input elements, that are part of the form signature. 147 // The names of the form input elements, that are part of the form signature.
148 // The string starts with "&" and the names are also separated by the "&" 148 // The string starts with "&" and the names are also separated by the "&"
149 // character. E.g.: "&form_input1_name&form_input2_name&...&form_inputN_name" 149 // character. E.g.: "&form_input1_name&form_input2_name&...&form_inputN_name"
150 std::string form_signature_field_names_; 150 std::string form_signature_field_names_;
151 151
152 // GET or POST. 152 // GET or POST.
153 RequestMethod method_; 153 RequestMethod method_;
154 154
155 DISALLOW_COPY_AND_ASSIGN(FormStructure); 155 DISALLOW_COPY_AND_ASSIGN(FormStructure);
156 }; 156 };
157 157
158 #endif // CHROME_BROWSER_AUTOFILL_FORM_STRUCTURE_H_ 158 #endif // CHROME_BROWSER_AUTOFILL_FORM_STRUCTURE_H_
OLDNEW
« no previous file with comments | « chrome/browser/autofill/autofill_manager_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698