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 COMPONENTS_AUTOFILL_BROWSER_FORM_STRUCTURE_H_ | 5 #ifndef COMPONENTS_AUTOFILL_BROWSER_FORM_STRUCTURE_H_ |
6 #define COMPONENTS_AUTOFILL_BROWSER_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 "components/autofill/browser/autofill_field.h" | 14 #include "components/autofill/browser/autofill_field.h" |
15 #include "components/autofill/browser/autofill_type.h" | 15 #include "components/autofill/browser/autofill_type.h" |
16 #include "components/autofill/browser/field_types.h" | 16 #include "components/autofill/browser/field_types.h" |
17 #include "components/autofill/common/web_element_descriptor.h" | 17 #include "components/autofill/core/common/web_element_descriptor.h" |
18 #include "googleurl/src/gurl.h" | 18 #include "googleurl/src/gurl.h" |
19 | 19 |
20 enum RequestMethod { | 20 enum RequestMethod { |
21 GET, | 21 GET, |
22 POST | 22 POST |
23 }; | 23 }; |
24 | 24 |
25 enum UploadRequired { | 25 enum UploadRequired { |
26 UPLOAD_NOT_REQUIRED, | 26 UPLOAD_NOT_REQUIRED, |
27 UPLOAD_REQUIRED, | 27 UPLOAD_REQUIRED, |
(...skipping 225 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
253 | 253 |
254 // Whether or not this form was filled by Autocheckout. | 254 // Whether or not this form was filled by Autocheckout. |
255 bool filled_by_autocheckout_; | 255 bool filled_by_autocheckout_; |
256 | 256 |
257 DISALLOW_COPY_AND_ASSIGN(FormStructure); | 257 DISALLOW_COPY_AND_ASSIGN(FormStructure); |
258 }; | 258 }; |
259 | 259 |
260 } // namespace autofill | 260 } // namespace autofill |
261 | 261 |
262 #endif // COMPONENTS_AUTOFILL_BROWSER_FORM_STRUCTURE_H_ | 262 #endif // COMPONENTS_AUTOFILL_BROWSER_FORM_STRUCTURE_H_ |
OLD | NEW |