OLD | NEW |
(Empty) | |
| 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. |
| 4 |
| 5 #ifndef CHROME_COMMON_IMPORTER_IMPORTER_AUTOFILL_FORM_DATA_ENTRY_H_ |
| 6 #define CHROME_COMMON_IMPORTER_IMPORTER_AUTOFILL_FORM_DATA_ENTRY_H_ |
| 7 |
| 8 #include "base/strings/string16.h" |
| 9 #include "base/time/time.h" |
| 10 |
| 11 // Used as the target for importing form history from other browsers' profiles |
| 12 // in the utility process. |
| 13 struct ImporterAutofillFormDataEntry { |
| 14 public: |
| 15 ImporterAutofillFormDataEntry(); |
| 16 ~ImporterAutofillFormDataEntry(); |
| 17 |
| 18 // Name of input element. |
| 19 base::string16 name; |
| 20 |
| 21 // Value of input element. |
| 22 base::string16 value; |
| 23 |
| 24 // Number of times this name-value pair has been used. |
| 25 int times_used; |
| 26 |
| 27 // The date of the first time when this name-value pair was used. |
| 28 base::Time first_used; |
| 29 |
| 30 // The date of the last time when this name-value pair was used. |
| 31 base::Time last_used; |
| 32 }; |
| 33 |
| 34 #endif // CHROME_COMMON_IMPORTER_IMPORTER_AUTOFILL_FORM_DATA_ENTRY_H_ |
OLD | NEW |