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

Unified Diff: components/data_usage/core/data_use.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/data_usage/core/data_use.cc
diff --git a/components/data_usage/core/data_use.cc b/components/data_usage/core/data_use.cc
index f073dba1e4f5463c6818c0f5337e13ae73092d67..04cb82300f6e1790e60fbd97e1d53c20581b8067 100644
--- a/components/data_usage/core/data_use.cc
+++ b/components/data_usage/core/data_use.cc
@@ -38,6 +38,8 @@ DataUse::DataUse(const GURL& url,
tx_bytes(tx_bytes),
rx_bytes(rx_bytes) {}
+DataUse::DataUse(const DataUse& other) = default;
+
DataUse::~DataUse() {}
bool DataUse::operator==(const DataUse& other) const {

Powered by Google App Engine
This is Rietveld 408576698