Roll src/third_party/WebKit 6f84130:7353389 (svn 184386:184391)
[chromium-blink-merge.git] / chrome / common / importer / importer_autofill_form_data_entry.h
blobaf35195ae43dd1fe4de376184748df3e7e96de24
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef CHROME_COMMON_IMPORTER_IMPORTER_AUTOFILL_FORM_DATA_ENTRY_H_
6 #define CHROME_COMMON_IMPORTER_IMPORTER_AUTOFILL_FORM_DATA_ENTRY_H_
8 #include "base/strings/string16.h"
9 #include "base/time/time.h"
11 // Used as the target for importing form history from other browsers' profiles
12 // in the utility process.
13 struct ImporterAutofillFormDataEntry {
14 ImporterAutofillFormDataEntry();
15 ~ImporterAutofillFormDataEntry();
17 // Name of input element.
18 base::string16 name;
20 // Value of input element.
21 base::string16 value;
23 // Number of times this name-value pair has been used.
24 int times_used;
26 // The date of the first time when this name-value pair was used.
27 base::Time first_used;
29 // The date of the last time when this name-value pair was used.
30 base::Time last_used;
33 #endif // CHROME_COMMON_IMPORTER_IMPORTER_AUTOFILL_FORM_DATA_ENTRY_H_