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

Unified Diff: components/history/core/browser/history_types.cc

Issue 1728033002: components: 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 side-by-side diff with in-line comments
Download patch
Index: components/history/core/browser/history_types.cc
diff --git a/components/history/core/browser/history_types.cc b/components/history/core/browser/history_types.cc
index 732c8c23a30815df2c7d5b61bc1c740dcc3277f2..090fded67b8fe013dce720e94a23934f56c041f4 100644
--- a/components/history/core/browser/history_types.cc
+++ b/components/history/core/browser/history_types.cc
@@ -203,6 +203,8 @@ MostVisitedURL::MostVisitedURL(const GURL& url,
last_forced_time(last_forced_time) {
}
+MostVisitedURL::MostVisitedURL(const MostVisitedURL& other) = default;
+
MostVisitedURL::~MostVisitedURL() {}
// FilteredURL -----------------------------------------------------------------
@@ -229,12 +231,16 @@ FilteredURL::ExtendedInfo::ExtendedInfo()
Images::Images() {}
+Images::Images(const Images& other) = default;
+
Images::~Images() {}
// TopSitesDelta --------------------------------------------------------------
TopSitesDelta::TopSitesDelta() {}
+TopSitesDelta::TopSitesDelta(const TopSitesDelta& other) = default;
+
TopSitesDelta::~TopSitesDelta() {}
// HistoryAddPageArgs ---------------------------------------------------------
@@ -271,6 +277,9 @@ HistoryAddPageArgs::HistoryAddPageArgs(const GURL& url,
did_replace_entry(did_replace_entry) {
}
+HistoryAddPageArgs::HistoryAddPageArgs(const HistoryAddPageArgs& other) =
+ default;
+
HistoryAddPageArgs::~HistoryAddPageArgs() {}
// ThumbnailMigration ---------------------------------------------------------
@@ -308,6 +317,8 @@ FaviconBitmap::FaviconBitmap()
icon_id(0) {
}
+FaviconBitmap::FaviconBitmap(const FaviconBitmap& other) = default;
+
FaviconBitmap::~FaviconBitmap() {
}
@@ -316,6 +327,8 @@ FaviconBitmap::~FaviconBitmap() {
ExpireHistoryArgs::ExpireHistoryArgs() {
}
+ExpireHistoryArgs::ExpireHistoryArgs(const ExpireHistoryArgs& other) = default;
+
ExpireHistoryArgs::~ExpireHistoryArgs() {
}

Powered by Google App Engine
This is Rietveld 408576698