1 // Copyright 2013 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_URL_ROW_H_
6 #define CHROME_COMMON_IMPORTER_IMPORTER_URL_ROW_H_
8 #include "base/strings/string16.h"
9 #include "base/time/time.h"
12 // Used as the target for importing history URLs from other browser's profiles
13 // in the utility process. Converted to history::URLRow after being passed via
14 // IPC to the browser.
15 struct ImporterURLRow
{
18 explicit ImporterURLRow(const GURL
& url
);
23 // Total number of times this URL has been visited.
26 // Number of times this URL has been manually entered in the URL bar.
29 // The date of the last visit of this URL, which saves us from having to
30 // loop up in the visit table for things like autocomplete and expiration.
31 base::Time last_visit
;
33 // Indicates this entry should now be shown in typical UI or queries, this
34 // is usually for subframes.
38 #endif // CHROME_COMMON_IMPORTER_IMPORTER_URL_ROW_H_