OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CHROME_COMMON_IMPORTER_IMPORTED_BOOKMARK_ENTRY_H_ | 5 #ifndef CHROME_COMMON_IMPORTER_IMPORTED_BOOKMARK_ENTRY_H_ |
6 #define CHROME_COMMON_IMPORTER_IMPORTED_BOOKMARK_ENTRY_H_ | 6 #define CHROME_COMMON_IMPORTER_IMPORTED_BOOKMARK_ENTRY_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/strings/string16.h" | 10 #include "base/strings/string16.h" |
11 #include "base/time/time.h" | 11 #include "base/time/time.h" |
12 #include "url/gurl.h" | 12 #include "url/gurl.h" |
13 | 13 |
14 struct ImportedBookmarkEntry { | 14 struct ImportedBookmarkEntry { |
15 ImportedBookmarkEntry(); | 15 ImportedBookmarkEntry(); |
| 16 ImportedBookmarkEntry(const ImportedBookmarkEntry& other); |
16 ~ImportedBookmarkEntry(); | 17 ~ImportedBookmarkEntry(); |
17 | 18 |
18 bool operator==(const ImportedBookmarkEntry& other) const; | 19 bool operator==(const ImportedBookmarkEntry& other) const; |
19 | 20 |
20 bool in_toolbar; | 21 bool in_toolbar; |
21 bool is_folder; | 22 bool is_folder; |
22 GURL url; | 23 GURL url; |
23 std::vector<base::string16> path; | 24 std::vector<base::string16> path; |
24 base::string16 title; | 25 base::string16 title; |
25 base::Time creation_time; | 26 base::Time creation_time; |
26 }; | 27 }; |
27 | 28 |
28 #endif // CHROME_COMMON_IMPORTER_IMPORTED_BOOKMARK_ENTRY_H_ | 29 #endif // CHROME_COMMON_IMPORTER_IMPORTED_BOOKMARK_ENTRY_H_ |
OLD | NEW |