chromium/components/sync/service/active_devices_provider.h

// 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.

#ifndef COMPONENTS_SYNC_SERVICE_ACTIVE_DEVICES_PROVIDER_H_
#define COMPONENTS_SYNC_SERVICE_ACTIVE_DEVICES_PROVIDER_H_

#include <string>

#include "base/functional/callback.h"
#include "components/sync/engine/active_devices_invalidation_info.h"

namespace syncer {

// An interface helping to get the information about active devices. Devices are
// considered active if there are DeviceInfo entries that are (typically) less
// than one day old (with a little margin around half an hour).
class ActiveDevicesProvider {};

}  // namespace syncer

#endif  // COMPONENTS_SYNC_SERVICE_ACTIVE_DEVICES_PROVIDER_H_