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

Unified Diff: chromeos/cryptohome/cryptohome_parameters.cc

Issue 1870833003: chromeos: 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, 8 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
« no previous file with comments | « chromeos/cryptohome/cryptohome_parameters.h ('k') | chromeos/dbus/audio_node.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/cryptohome/cryptohome_parameters.cc
diff --git a/chromeos/cryptohome/cryptohome_parameters.cc b/chromeos/cryptohome/cryptohome_parameters.cc
index 5aa88578c0744dde5b0fbcce5a26e58763d45a56..dcb649eb30fbdfcbb57f4f93c5e89fa39ba0ad26 100644
--- a/chromeos/cryptohome/cryptohome_parameters.cc
+++ b/chromeos/cryptohome/cryptohome_parameters.cc
@@ -112,6 +112,8 @@ KeyDefinition::AuthorizationData::AuthorizationData(
false /* wrapped */));
}
+KeyDefinition::AuthorizationData::AuthorizationData(
+ const AuthorizationData& other) = default;
KeyDefinition::AuthorizationData::~AuthorizationData() {
}
@@ -188,6 +190,8 @@ KeyDefinition::KeyDefinition(const std::string& secret,
secret(secret) {
}
+KeyDefinition::KeyDefinition(const KeyDefinition& other) = default;
+
KeyDefinition::~KeyDefinition() {
}
@@ -229,6 +233,8 @@ bool Authorization::operator==(const Authorization& other) const {
MountParameters::MountParameters(bool ephemeral) : ephemeral(ephemeral) {
}
+MountParameters::MountParameters(const MountParameters& other) = default;
+
bool MountParameters::operator==(const MountParameters& other) const {
return ephemeral == other.ephemeral && create_keys == other.create_keys;
}
« no previous file with comments | « chromeos/cryptohome/cryptohome_parameters.h ('k') | chromeos/dbus/audio_node.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698