12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394 |
- // Copyright 2019 The Chromium Authors. All rights reserved.
- // Use of this source code is governed by a BSD-style license that can be
- // found in the LICENSE file.
- #include "ash/public/cpp/login_types.h"
- #include "ash/components/proximity_auth/public/mojom/auth_type.mojom.h"
- namespace ash {
- EasyUnlockIconInfo::EasyUnlockIconInfo() = default;
- EasyUnlockIconInfo::EasyUnlockIconInfo(const EasyUnlockIconInfo& other) =
- default;
- EasyUnlockIconInfo::EasyUnlockIconInfo(EasyUnlockIconInfo&& other) = default;
- EasyUnlockIconInfo::~EasyUnlockIconInfo() = default;
- EasyUnlockIconInfo& EasyUnlockIconInfo::operator=(
- const EasyUnlockIconInfo& other) = default;
- EasyUnlockIconInfo& EasyUnlockIconInfo::operator=(EasyUnlockIconInfo&& other) =
- default;
- bool DeviceEnterpriseInfo::operator==(const DeviceEnterpriseInfo& other) const {
- return other.enterprise_domain_manager == enterprise_domain_manager &&
- other.active_directory_managed == active_directory_managed &&
- other.management_device_mode == management_device_mode;
- }
- InputMethodItem::InputMethodItem() = default;
- InputMethodItem::InputMethodItem(const InputMethodItem& other) = default;
- InputMethodItem::InputMethodItem(InputMethodItem&& other) = default;
- InputMethodItem::~InputMethodItem() = default;
- InputMethodItem& InputMethodItem::operator=(const InputMethodItem& other) =
- default;
- InputMethodItem& InputMethodItem::operator=(InputMethodItem&& other) = default;
- LocaleItem::LocaleItem() = default;
- LocaleItem::LocaleItem(const LocaleItem& other) = default;
- LocaleItem::LocaleItem(LocaleItem&& other) = default;
- LocaleItem::~LocaleItem() = default;
- LocaleItem& LocaleItem::operator=(const LocaleItem& other) = default;
- LocaleItem& LocaleItem::operator=(LocaleItem&& other) = default;
- bool LocaleItem::operator==(const LocaleItem& other) const {
- return language_code == other.language_code && title == other.title &&
- group_name == other.group_name;
- }
- PublicAccountInfo::PublicAccountInfo() = default;
- PublicAccountInfo::PublicAccountInfo(const PublicAccountInfo& other) = default;
- PublicAccountInfo::PublicAccountInfo(PublicAccountInfo&& other) = default;
- PublicAccountInfo::~PublicAccountInfo() = default;
- PublicAccountInfo& PublicAccountInfo::operator=(
- const PublicAccountInfo& other) = default;
- PublicAccountInfo& PublicAccountInfo::operator=(PublicAccountInfo&& other) =
- default;
- LoginUserInfo::LoginUserInfo()
- : auth_type(proximity_auth::mojom::AuthType::OFFLINE_PASSWORD) {}
- LoginUserInfo::LoginUserInfo(const LoginUserInfo& other) = default;
- LoginUserInfo::LoginUserInfo(LoginUserInfo&& other) = default;
- LoginUserInfo::~LoginUserInfo() = default;
- LoginUserInfo& LoginUserInfo::operator=(const LoginUserInfo& other) = default;
- LoginUserInfo& LoginUserInfo::operator=(LoginUserInfo&& other) = default;
- AuthDisabledData::AuthDisabledData() = default;
- AuthDisabledData::AuthDisabledData(AuthDisabledReason reason,
- const base::Time& auth_reenabled_time,
- const base::TimeDelta& device_used_time,
- bool disable_lock_screen_media)
- : reason(reason),
- auth_reenabled_time(auth_reenabled_time),
- device_used_time(device_used_time),
- disable_lock_screen_media(disable_lock_screen_media) {}
- AuthDisabledData::AuthDisabledData(const AuthDisabledData& other) = default;
- AuthDisabledData::AuthDisabledData(AuthDisabledData&& other) = default;
- AuthDisabledData::~AuthDisabledData() = default;
- AuthDisabledData& AuthDisabledData::operator=(const AuthDisabledData& other) =
- default;
- AuthDisabledData& AuthDisabledData::operator=(AuthDisabledData&& other) =
- default;
- SecurityTokenPinRequest::SecurityTokenPinRequest() = default;
- SecurityTokenPinRequest::SecurityTokenPinRequest(SecurityTokenPinRequest&&) =
- default;
- SecurityTokenPinRequest& SecurityTokenPinRequest::operator=(
- SecurityTokenPinRequest&&) = default;
- SecurityTokenPinRequest::~SecurityTokenPinRequest() = default;
- } // namespace ash
|