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 #include "chrome/common/importer/imported_bookmark_entry.h" | 5 #include "chrome/common/importer/imported_bookmark_entry.h" |
6 | 6 |
7 ImportedBookmarkEntry::ImportedBookmarkEntry() | 7 ImportedBookmarkEntry::ImportedBookmarkEntry() |
8 : in_toolbar(false), | 8 : in_toolbar(false), |
9 is_folder(false) {} | 9 is_folder(false) {} |
10 | 10 |
| 11 ImportedBookmarkEntry::ImportedBookmarkEntry( |
| 12 const ImportedBookmarkEntry& other) = default; |
| 13 |
11 ImportedBookmarkEntry::~ImportedBookmarkEntry() {} | 14 ImportedBookmarkEntry::~ImportedBookmarkEntry() {} |
12 | 15 |
13 bool ImportedBookmarkEntry::operator==( | 16 bool ImportedBookmarkEntry::operator==( |
14 const ImportedBookmarkEntry& other) const { | 17 const ImportedBookmarkEntry& other) const { |
15 return (in_toolbar == other.in_toolbar && | 18 return (in_toolbar == other.in_toolbar && |
16 is_folder == other.is_folder && | 19 is_folder == other.is_folder && |
17 url == other.url && | 20 url == other.url && |
18 path == other.path && | 21 path == other.path && |
19 title == other.title && | 22 title == other.title && |
20 creation_time == other.creation_time); | 23 creation_time == other.creation_time); |
21 } | 24 } |
OLD | NEW |