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

Unified Diff: components/storage_monitor/storage_info.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/storage_monitor/storage_info.cc
diff --git a/components/storage_monitor/storage_info.cc b/components/storage_monitor/storage_info.cc
index 98bc7ce856b8de8622c81992683da28f22189796..a03394057efc88db7412d08fca7b967ace42bbf8 100644
--- a/components/storage_monitor/storage_info.cc
+++ b/components/storage_monitor/storage_info.cc
@@ -55,6 +55,8 @@ namespace storage_monitor {
StorageInfo::StorageInfo() : total_size_in_bytes_(0) {
}
+StorageInfo::StorageInfo(const StorageInfo& other) = default;
+
StorageInfo::StorageInfo(const std::string& device_id_in,
const base::FilePath::StringType& device_location,
const base::string16& label,

Powered by Google App Engine
This is Rietveld 408576698