| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "chromeos/cryptohome/cryptohome_parameters.h" | 5 #include "chromeos/cryptohome/cryptohome_parameters.h" |
| 6 | 6 |
| 7 #include "chromeos/dbus/cryptohome/key.pb.h" | 7 #include "chromeos/dbus/cryptohome/key.pb.h" |
| 8 | 8 |
| 9 namespace cryptohome { | 9 namespace cryptohome { |
| 10 | 10 |
| 11 Identification::Identification(const std::string& user_id) : user_id(user_id) { | 11 Identification::Identification(const user_manager::UserID& user_id) : user_id(us
er_id) { |
| 12 } | 12 } |
| 13 | 13 |
| 14 bool Identification::operator==(const Identification& other) const { | 14 bool Identification::operator==(const Identification& other) const { |
| 15 return user_id == other.user_id; | 15 return user_id == other.user_id; |
| 16 } | 16 } |
| 17 | 17 |
| 18 KeyDefinition::AuthorizationData::Secret::Secret() : encrypt(false), | 18 KeyDefinition::AuthorizationData::Secret::Secret() : encrypt(false), |
| 19 sign(false), | 19 sign(false), |
| 20 wrapped(false) { | 20 wrapped(false) { |
| 21 } | 21 } |
| (...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 175 } | 175 } |
| 176 | 176 |
| 177 bool MountParameters::operator==(const MountParameters& other) const { | 177 bool MountParameters::operator==(const MountParameters& other) const { |
| 178 return ephemeral == other.ephemeral && create_keys == other.create_keys; | 178 return ephemeral == other.ephemeral && create_keys == other.create_keys; |
| 179 } | 179 } |
| 180 | 180 |
| 181 MountParameters::~MountParameters() { | 181 MountParameters::~MountParameters() { |
| 182 } | 182 } |
| 183 | 183 |
| 184 } // namespace cryptohome | 184 } // namespace cryptohome |
| OLD | NEW |