Remove unused deviceInfo methods.

PiperOrigin-RevId: 688334273
This commit is contained in:
Francis Tsui
2024-10-21 17:46:16 -07:00
committed by Copybara-Service
parent b9bb7c9da9
commit 5840369ce6
18 changed files with 0 additions and 280 deletions
@@ -34,10 +34,7 @@ class DeviceInfo : public api::DeviceInfo {
api::DeviceInfo::OsType GetOsType() const override;
std::optional<std::string> GetFullName() const override;
std::optional<std::string> GetGivenName() const override;
std::optional<std::string> GetLastName() const override;
std::optional<std::string> GetProfileUserName() const override;
std::optional<std::filesystem::path> GetDownloadPath() const override;
@@ -78,10 +78,7 @@ api::DeviceInfo::OsType DeviceInfo::GetOsType() const {
#endif
}
std::optional<std::string> DeviceInfo::GetFullName() const { return std::nullopt; }
std::optional<std::string> DeviceInfo::GetGivenName() const { return std::nullopt; }
std::optional<std::string> DeviceInfo::GetLastName() const { return std::nullopt; }
std::optional<std::string> DeviceInfo::GetProfileUserName() const { return std::nullopt; }
std::optional<std::filesystem::path> DeviceInfo::GetDownloadPath() const {
NSFileManager *manager = [NSFileManager defaultManager];