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 ImporterAutofillFormDataEntry(); 15 ~ImporterAutofillFormDataEntry(); 16 17 // Name of input element. 18 base::string16 name; 19 20 // Value of input element. 21 base::string16 value; 22 23 // Number of times this name-value pair has been used. 24 int times_used; 25 26 // The date of the first time when this name-value pair was used. 27 base::Time first_used; 28 29 // The date of the last time when this name-value pair was used. 30 base::Time last_used; 31 }; 32 33 #endif // CHROME_COMMON_IMPORTER_IMPORTER_AUTOFILL_FORM_DATA_ENTRY_H_ 34