blob: da868f29cddff2a2b7cf7e7ba78f364f3ffbc6c3 [file] [log] [blame]
Mikel Astiz4ae57842024-01-10 11:47:031// 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 Mahmood0f3c35a82024-07-31 15:43:265#include "components/sharing_message/sharing_target_device_info.h"
Mikel Astiz4ae57842024-01-10 11:47:036
7SharingTargetDeviceInfo::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 Astiz1b034ae2024-01-26 10:13:3821SharingTargetDeviceInfo::SharingTargetDeviceInfo(SharingTargetDeviceInfo&&) =
22 default;
23
Mikel Astiz4ae57842024-01-10 11:47:0324SharingTargetDeviceInfo::~SharingTargetDeviceInfo() = default;
Mikel Astiz