OLD | NEW |
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_FORM_STRUCTURE_H_ | 5 #ifndef COMPONENTS_AUTOFILL_CORE_BROWSER_FORM_STRUCTURE_H_ |
6 #define COMPONENTS_AUTOFILL_CORE_BROWSER_FORM_STRUCTURE_H_ | 6 #define COMPONENTS_AUTOFILL_CORE_BROWSER_FORM_STRUCTURE_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 | 9 |
10 #include <set> | 10 #include <set> |
11 #include <string> | 11 #include <string> |
12 #include <vector> | 12 #include <vector> |
13 | 13 |
14 #include "base/callback.h" | 14 #include "base/callback.h" |
15 #include "base/gtest_prod_util.h" | 15 #include "base/gtest_prod_util.h" |
16 #include "base/macros.h" | 16 #include "base/macros.h" |
17 #include "base/memory/scoped_vector.h" | 17 #include "base/memory/scoped_vector.h" |
18 #include "base/strings/string16.h" | 18 #include "base/strings/string16.h" |
19 #include "base/strings/string_piece.h" | 19 #include "base/strings/string_piece.h" |
20 #include "components/autofill/core/browser/autofill_field.h" | 20 #include "components/autofill/core/browser/autofill_field.h" |
21 #include "components/autofill/core/browser/autofill_type.h" | 21 #include "components/autofill/core/browser/autofill_type.h" |
22 #include "components/autofill/core/browser/field_types.h" | 22 #include "components/autofill/core/browser/field_types.h" |
23 #include "components/autofill/core/browser/proto/server.pb.h" | 23 #include "components/autofill/core/browser/proto/server.pb.h" |
24 #include "url/gurl.h" | 24 #include "url/gurl.h" |
25 | 25 |
26 class XmlWriter; | |
27 | |
28 enum UploadRequired { | 26 enum UploadRequired { |
29 UPLOAD_NOT_REQUIRED, | 27 UPLOAD_NOT_REQUIRED, |
30 UPLOAD_REQUIRED, | 28 UPLOAD_REQUIRED, |
31 USE_UPLOAD_RATES | 29 USE_UPLOAD_RATES |
32 }; | 30 }; |
33 | 31 |
34 namespace base { | 32 namespace base { |
35 class TimeTicks; | 33 class TimeTicks; |
36 } | 34 } |
37 | 35 |
38 namespace buzz { | |
39 class XmlElement; | |
40 } | |
41 | |
42 namespace rappor { | 36 namespace rappor { |
43 class RapporService; | 37 class RapporService; |
44 } | 38 } |
45 | 39 |
46 namespace autofill { | 40 namespace autofill { |
47 | 41 |
48 struct FormData; | 42 struct FormData; |
49 struct FormDataPredictions; | 43 struct FormDataPredictions; |
50 | 44 |
51 // FormStructure stores a single HTML form together with the values entered | 45 // FormStructure stores a single HTML form together with the values entered |
(...skipping 266 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
318 // The unique signature for this form, composed of the target url domain, | 312 // The unique signature for this form, composed of the target url domain, |
319 // the form name, and the form field names in a 64-bit hash. | 313 // the form name, and the form field names in a 64-bit hash. |
320 FormSignature form_signature_; | 314 FormSignature form_signature_; |
321 | 315 |
322 DISALLOW_COPY_AND_ASSIGN(FormStructure); | 316 DISALLOW_COPY_AND_ASSIGN(FormStructure); |
323 }; | 317 }; |
324 | 318 |
325 } // namespace autofill | 319 } // namespace autofill |
326 | 320 |
327 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_FORM_STRUCTURE_H_ | 321 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_FORM_STRUCTURE_H_ |
OLD | NEW |