#ifdef UNSAFE_BUFFERS_BUILD
#pragma allow_unsafe_buffers
#endif
#include "ui/message_center/views/relative_time_formatter.h"
#include "base/numerics/safe_conversions.h"
#include "ui/base/l10n/l10n_util.h"
#include "ui/strings/grit/ui_strings.h"
namespace message_center {
namespace {
struct RelativeTimeFormat { … };
const RelativeTimeFormat& GetRelativeTimeFormat(base::TimeDelta delta) { … }
}
void GetRelativeTimeStringAndNextUpdateTime(base::TimeDelta delta,
std::u16string* relative_time,
base::TimeDelta* next_update) { … }
}