chromium/components/update_client/test_activity_data_service.cc

// Copyright 2020 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "components/update_client/test_activity_data_service.h"

#include <set>
#include <string>
#include <vector>

#include "base/functional/bind.h"
#include "base/functional/callback.h"
#include "base/run_loop.h"
#include "base/task/sequenced_task_runner.h"
#include "base/test/bind.h"
#include "components/update_client/persisted_data.h"

namespace update_client {

namespace {
constexpr int kUnknown =;
}  // namespace

namespace test {

void SetDateLastData(PersistedData* metadata,
                     const std::vector<std::string>& ids,
                     int daynum) {}

bool GetActiveBit(PersistedData* metadata, const std::string& id) {}

}  // namespace test

TestActivityDataService::TestActivityDataService() = default;
TestActivityDataService::~TestActivityDataService() = default;

bool TestActivityDataService::GetActiveBit(const std::string& id) const {}

void TestActivityDataService::GetActiveBits(
    const std::vector<std::string>& ids,
    base::OnceCallback<void(const std::set<std::string>&)> callback) const {}

void TestActivityDataService::GetAndClearActiveBits(
    const std::vector<std::string>& ids,
    base::OnceCallback<void(const std::set<std::string>&)> callback) {}

int TestActivityDataService::GetDaysSinceLastActive(
    const std::string& id) const {}

int TestActivityDataService::GetDaysSinceLastRollCall(
    const std::string& id) const {}

void TestActivityDataService::SetActiveBit(const std::string& id, bool value) {}

void TestActivityDataService::SetDaysSinceLastActive(const std::string& id,
                                                     int daynum) {}

void TestActivityDataService::SetDaysSinceLastRollCall(const std::string& id,
                                                       int daynum) {}

}  // namespace update_client