Mikel Astiz | 4ae5784 | 2024-01-10 11:47:03 | [diff] [blame] | 1 | // Copyright 2024 The Chromium Authors |
| 2 | // Use of this source code is governed by a BSD-style license that can be |
| 3 | // found in the LICENSE file. |
| 4 | |
Hira Mahmood | 0f3c35a8 | 2024-07-31 15:43:26 | [diff] [blame] | 5 | #include "components/sharing_message/sharing_target_device_info.h" |
Mikel Astiz | 4ae5784 | 2024-01-10 11:47:03 | [diff] [blame] | 6 | |
| 7 | SharingTargetDeviceInfo::SharingTargetDeviceInfo( |
| 8 | const std::string& guid, |
| 9 | const std::string& client_name, |
| 10 | SharingDevicePlatform platform, |
| 11 | base::TimeDelta pulse_interval, |
| 12 | syncer::DeviceInfo::FormFactor form_factor, |
| 13 | base::Time last_updated_timestamp) |
| 14 | : guid_(guid), |
| 15 | client_name_(client_name), |
| 16 | platform_(platform), |
| 17 | pulse_interval_(pulse_interval), |
| 18 | form_factor_(form_factor), |
| 19 | last_updated_timestamp_(last_updated_timestamp) {} |
| 20 | |
Mikel Astiz | 1b034ae | 2024-01-26 10:13:38 | [diff] [blame] | 21 | SharingTargetDeviceInfo::SharingTargetDeviceInfo(SharingTargetDeviceInfo&&) = |
| 22 | default; |
| 23 | |
Mikel Astiz | 4ae5784 | 2024-01-10 11:47:03 | [diff] [blame] | 24 | SharingTargetDeviceInfo::~SharingTargetDeviceInfo() = default; |
Mikel Astiz |
|