OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 COMPONENTS_AUTOFILL_BROWSER_FORM_STRUCTURE_H_ |
6 #define CHROME_BROWSER_AUTOFILL_FORM_STRUCTURE_H_ | 6 #define COMPONENTS_AUTOFILL_BROWSER_FORM_STRUCTURE_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "base/gtest_prod_util.h" | 11 #include "base/gtest_prod_util.h" |
12 #include "base/memory/scoped_ptr.h" | 12 #include "base/memory/scoped_ptr.h" |
13 #include "base/memory/scoped_vector.h" | 13 #include "base/memory/scoped_vector.h" |
14 #include "chrome/browser/autofill/autofill_field.h" | 14 #include "components/autofill/browser/autofill_field.h" |
15 #include "chrome/browser/autofill/autofill_type.h" | 15 #include "components/autofill/browser/autofill_type.h" |
16 #include "chrome/browser/autofill/field_types.h" | 16 #include "components/autofill/browser/field_types.h" |
17 #include "components/autofill/common/web_element_descriptor.h" | 17 #include "components/autofill/common/web_element_descriptor.h" |
18 #include "googleurl/src/gurl.h" | 18 #include "googleurl/src/gurl.h" |
19 | 19 |
20 struct FormData; | 20 struct FormData; |
21 struct FormDataPredictions; | 21 struct FormDataPredictions; |
22 | 22 |
23 enum RequestMethod { | 23 enum RequestMethod { |
24 GET, | 24 GET, |
25 POST | 25 POST |
26 }; | 26 }; |
(...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
231 // author, via the |autocompletetype| attribute. | 231 // author, via the |autocompletetype| attribute. |
232 bool has_author_specified_types_; | 232 bool has_author_specified_types_; |
233 | 233 |
234 // The URL prefix matched in autocheckout whitelist. An empty string implies | 234 // The URL prefix matched in autocheckout whitelist. An empty string implies |
235 // autocheckout is not enabled for this form. | 235 // autocheckout is not enabled for this form. |
236 std::string autocheckout_url_prefix_; | 236 std::string autocheckout_url_prefix_; |
237 | 237 |
238 DISALLOW_COPY_AND_ASSIGN(FormStructure); | 238 DISALLOW_COPY_AND_ASSIGN(FormStructure); |
239 }; | 239 }; |
240 | 240 |
241 #endif // CHROME_BROWSER_AUTOFILL_FORM_STRUCTURE_H_ | 241 #endif // COMPONENTS_AUTOFILL_BROWSER_FORM_STRUCTURE_H_ |
OLD | NEW |