#include "chrome/updater/activity.h"
#include <set>
#include <string>
#include <utility>
#include <vector>
#include "base/functional/bind.h"
#include "base/functional/callback.h"
#include "base/task/task_traits.h"
#include "base/task/thread_pool.h"
#include "chrome/updater/activity_impl.h"
#include "chrome/updater/updater_scope.h"
namespace updater {
namespace {
constexpr int kDaysUnknown = …;
}
ActivityDataService::ActivityDataService(UpdaterScope scope) : … { … }
void ActivityDataService::GetActiveBits(
const std::vector<std::string>& ids,
base::OnceCallback<void(const std::set<std::string>&)> callback) const { … }
void ActivityDataService::GetAndClearActiveBits(
const std::vector<std::string>& ids,
base::OnceCallback<void(const std::set<std::string>&)> callback) { … }
int ActivityDataService::GetDaysSinceLastActive(const std::string& id) const { … }
int ActivityDataService::GetDaysSinceLastRollCall(const std::string& id) const { … }
}