#include "components/sync_device_info/device_info_util.h"
#include <algorithm>
#include "base/strings/string_util.h"
#include "base/time/time.h"
#include "components/sync/protocol/device_info_specifics.pb.h"
namespace syncer {
const char DeviceInfoUtil::kClientTagPrefix[] = …;
const base::TimeDelta DeviceInfoUtil::kActiveThreshold = …;
namespace {
const base::TimeDelta kPulseInterval = …;
base::TimeDelta Age(const base::Time last_update, const base::Time now) { … }
}
base::TimeDelta DeviceInfoUtil::GetPulseInterval() { … }
base::TimeDelta DeviceInfoUtil::CalculatePulseDelay(
const base::Time last_update,
const base::Time now) { … }
bool DeviceInfoUtil::IsActive(const base::Time last_update,
const base::Time now) { … }
std::string DeviceInfoUtil::SpecificsToTag(
const sync_pb::DeviceInfoSpecifics& specifics) { … }
std::string DeviceInfoUtil::TagToCacheGuid(const std::string& tag) { … }
}