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/url_row.h

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/url_row.h
diff --git a/components/history/core/browser/url_row.h b/components/history/core/browser/url_row.h
index baa0ce106e79a326c98ece93adf52ad7def65464..c333c31a44a7ed519d9768e8c2aea8b28502b25f 100644
--- a/components/history/core/browser/url_row.h
+++ b/components/history/core/browser/url_row.h
@@ -38,6 +38,8 @@ class URLRow {
// an IPC message. This constructor should probably not be used otherwise.
URLRow(const GURL& url, URLID id);
+ URLRow(const URLRow& other);
+
virtual ~URLRow();
URLRow& operator=(const URLRow& other);
@@ -168,6 +170,7 @@ class URLResult : public URLRow {
URLResult(const GURL& url,
const query_parser::Snippet::MatchPositions& title_matches);
explicit URLResult(const URLRow& url_row);
+ URLResult(const URLResult& other);
~URLResult() override;
base::Time visit_time() const { return visit_time_; }

Powered by Google App Engine
This is Rietveld 408576698