Update CrOS OOBE throbber to MD throbber; delete old asset
[chromium-blink-merge.git] / chrome / common / importer / importer_url_row.h
blob857644aa0354be6edb2024830956107d78842153
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"
10 #include "url/gurl.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 {
16 public:
17 ImporterURLRow();
18 explicit ImporterURLRow(const GURL& url);
20 GURL url;
21 base::string16 title;
23 // Total number of times this URL has been visited.
24 int visit_count;
26 // Number of times this URL has been manually entered in the URL bar.
27 int typed_count;
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.
35 bool hidden;
38 #endif // CHROME_COMMON_IMPORTER_IMPORTER_URL_ROW_H_