#include "components/send_tab_to_self/target_device_info.h"
#include "base/feature_list.h"
#include "base/strings/strcat.h"
#include "base/trace_event/trace_event.h"
#include "components/send_tab_to_self/features.h"
#include "components/strings/grit/components_strings.h"
#include "components/sync_device_info/device_info.h"
#include "third_party/abseil-cpp/absl/strings/ascii.h"
#include "ui/base/l10n/l10n_util.h"
namespace {
std::string GetDeviceType(syncer::DeviceInfo::FormFactor form_factor) { … }
std::string CapitalizeWords(const std::string& sentence) { … }
}
namespace send_tab_to_self {
TargetDeviceInfo::TargetDeviceInfo(
const std::string& full_name,
const std::string& short_name,
const std::string& cache_guid,
const syncer::DeviceInfo::FormFactor form_factor,
base::Time last_updated_timestamp)
: … { … }
TargetDeviceInfo::TargetDeviceInfo(const TargetDeviceInfo& other) = default;
TargetDeviceInfo::~TargetDeviceInfo() { … }
bool TargetDeviceInfo::operator==(const TargetDeviceInfo& rhs) const { … }
SharingDeviceNames GetSharingDeviceNames(const syncer::DeviceInfo* device) { … }
}