Chromium Code Reviews| Index: chrome/common/importer/importer_autofill_form_data_entry.h |
| diff --git a/chrome/common/importer/importer_autofill_form_data_entry.h b/chrome/common/importer/importer_autofill_form_data_entry.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..a76c2887b77d4d27b810329e4cd19206a6a8f1d6 |
| --- /dev/null |
| +++ b/chrome/common/importer/importer_autofill_form_data_entry.h |
| @@ -0,0 +1,34 @@ |
| +// Copyright 2014 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#ifndef CHROME_COMMON_IMPORTER_IMPORTER_AUTOFILL_FORM_DATA_ENTRY_H_ |
| +#define CHROME_COMMON_IMPORTER_IMPORTER_AUTOFILL_FORM_DATA_ENTRY_H_ |
| + |
| +#include "base/strings/string16.h" |
| +#include "base/time/time.h" |
| + |
| +// Used as the target for importing form history from other browsers' profiles |
| +// in the utility process. |
| +struct ImporterAutofillFormDataEntry { |
| + public: |
|
Tom Sepez
2014/08/27 23:10:21
nit: public: is redundant for struct.
Nikhil
2014/08/28 06:54:59
Done.
|
| + ImporterAutofillFormDataEntry(); |
| + ~ImporterAutofillFormDataEntry(); |
| + |
| + // Name of input element. |
| + base::string16 name; |
| + |
| + // Value of input element. |
| + base::string16 value; |
| + |
| + // Number of times this name-value pair has been used. |
| + int times_used; |
| + |
| + // The date of the first time when this name-value pair was used. |
| + base::Time first_used; |
| + |
| + // The date of the last time when this name-value pair was used. |
| + base::Time last_used; |
| +}; |
| + |
| +#endif // CHROME_COMMON_IMPORTER_IMPORTER_AUTOFILL_FORM_DATA_ENTRY_H_ |