1a93a17c8d99d686bd4a1511e5504e5e6cc9fcadfTorne (Richard Coles)// Copyright 2013 The Chromium Authors. All rights reserved.
2a93a17c8d99d686bd4a1511e5504e5e6cc9fcadfTorne (Richard Coles)// Use of this source code is governed by a BSD-style license that can be
3a93a17c8d99d686bd4a1511e5504e5e6cc9fcadfTorne (Richard Coles)// found in the LICENSE file.
4a93a17c8d99d686bd4a1511e5504e5e6cc9fcadfTorne (Richard Coles)
5eb525c5499e34cc9c4b825d6d9e75bb07cc06aceBen Murdoch#include "chrome/common/importer/imported_bookmark_entry.h"
6a93a17c8d99d686bd4a1511e5504e5e6cc9fcadfTorne (Richard Coles)
7a93a17c8d99d686bd4a1511e5504e5e6cc9fcadfTorne (Richard Coles)ImportedBookmarkEntry::ImportedBookmarkEntry()
8a93a17c8d99d686bd4a1511e5504e5e6cc9fcadfTorne (Richard Coles)    : in_toolbar(false),
9a93a17c8d99d686bd4a1511e5504e5e6cc9fcadfTorne (Richard Coles)      is_folder(false) {}
10a93a17c8d99d686bd4a1511e5504e5e6cc9fcadfTorne (Richard Coles)
11a93a17c8d99d686bd4a1511e5504e5e6cc9fcadfTorne (Richard Coles)ImportedBookmarkEntry::~ImportedBookmarkEntry() {}
12a93a17c8d99d686bd4a1511e5504e5e6cc9fcadfTorne (Richard Coles)
13a93a17c8d99d686bd4a1511e5504e5e6cc9fcadfTorne (Richard Coles)bool ImportedBookmarkEntry::operator==(
14a93a17c8d99d686bd4a1511e5504e5e6cc9fcadfTorne (Richard Coles)    const ImportedBookmarkEntry& other) const {
15a93a17c8d99d686bd4a1511e5504e5e6cc9fcadfTorne (Richard Coles)  return (in_toolbar == other.in_toolbar &&
16a93a17c8d99d686bd4a1511e5504e5e6cc9fcadfTorne (Richard Coles)          is_folder == other.is_folder &&
17a93a17c8d99d686bd4a1511e5504e5e6cc9fcadfTorne (Richard Coles)          url == other.url &&
18a93a17c8d99d686bd4a1511e5504e5e6cc9fcadfTorne (Richard Coles)          path == other.path &&
19a93a17c8d99d686bd4a1511e5504e5e6cc9fcadfTorne (Richard Coles)          title == other.title &&
20a93a17c8d99d686bd4a1511e5504e5e6cc9fcadfTorne (Richard Coles)          creation_time == other.creation_time);
21a93a17c8d99d686bd4a1511e5504e5e6cc9fcadfTorne (Richard Coles)}
22