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

Side by Side Diff: components/autofill/common/form_field_data.h

Issue 12543010: Establish components/autofill and move some files (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 7 years, 9 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_COMMON_FORM_FIELD_DATA_H_ 5 #ifndef COMPONENTS_AUTOFILL_COMMON_FORM_FIELD_DATA_H_
6 #define CHROME_COMMON_FORM_FIELD_DATA_H_ 6 #define COMPONENTS_AUTOFILL_COMMON_FORM_FIELD_DATA_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/string16.h" 10 #include "base/string16.h"
11 11
12 // Stores information about a field in a form. 12 // Stores information about a field in a form.
13 struct FormFieldData { 13 struct FormFieldData {
14 FormFieldData(); 14 FormFieldData();
15 ~FormFieldData(); 15 ~FormFieldData();
16 16
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 EXPECT_EQ(expected.name, actual.name); \ 52 EXPECT_EQ(expected.name, actual.name); \
53 EXPECT_EQ(expected.value, actual.value); \ 53 EXPECT_EQ(expected.value, actual.value); \
54 EXPECT_EQ(expected.form_control_type, actual.form_control_type); \ 54 EXPECT_EQ(expected.form_control_type, actual.form_control_type); \
55 EXPECT_EQ(expected.autocomplete_attribute, actual.autocomplete_attribute); \ 55 EXPECT_EQ(expected.autocomplete_attribute, actual.autocomplete_attribute); \
56 EXPECT_EQ(expected.max_length, actual.max_length); \ 56 EXPECT_EQ(expected.max_length, actual.max_length); \
57 EXPECT_EQ(expected.is_autofilled, actual.is_autofilled); \ 57 EXPECT_EQ(expected.is_autofilled, actual.is_autofilled); \
58 EXPECT_EQ(expected.is_checked, actual.is_checked); \ 58 EXPECT_EQ(expected.is_checked, actual.is_checked); \
59 EXPECT_EQ(expected.is_checkable, actual.is_checkable); \ 59 EXPECT_EQ(expected.is_checkable, actual.is_checkable); \
60 } while (0) 60 } while (0)
61 61
62 #endif // CHROME_COMMON_FORM_FIELD_DATA_H_ 62 #endif // COMPONENTS_AUTOFILL_COMMON_FORM_FIELD_DATA_H_
OLDNEW
« no previous file with comments | « components/autofill/common/form_data_predictions.cc ('k') | components/autofill/common/form_field_data.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698