Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(21)

Side by Side Diff: chrome/common/importer/imported_bookmark_entry.cc

Issue 1731483003: chrome: Add out-of-line copy ctors for complex classes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698