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

Side by Side Diff: chrome/common/importer/importer_autofill_form_data_entry.h

Issue 480953002: Implement "Autofill form data" import for Firefox (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Review feedback (add test case for non-ASCII characters) Created 6 years, 3 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
OLDNEW
(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:
Tom Sepez 2014/08/27 23:10:21 nit: public: is redundant for struct.
Nikhil 2014/08/28 06:54:59 Done.
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698