blob: 585fede0ee6657bc0c1b695499aef203b4ec6a37 [file] [log] [blame]
// Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROMEOS_COMPONENTS_TETHER_HOST_SCAN_DEVICE_PRIORITIZER_IMPL_H_
#define CHROMEOS_COMPONENTS_TETHER_HOST_SCAN_DEVICE_PRIORITIZER_IMPL_H_
#include "base/macros.h"
#include "chromeos/components/multidevice/remote_device_ref.h"
#include "chromeos/components/tether/host_scan_device_prioritizer.h"
namespace chromeos {
namespace tether {
class TetherHostResponseRecorder;
// Implementation of HostScanDevicePrioritizer.
class HostScanDevicePrioritizerImpl : public HostScanDevicePrioritizer {
public:
HostScanDevicePrioritizerImpl(
TetherHostResponseRecorder* tether_host_response_recorder);
~HostScanDevicePrioritizerImpl() override;
// HostScanDevicePrioritizer:
void SortByHostScanOrder(
multidevice::RemoteDeviceRefList* remote_devices) const override;
private:
TetherHostResponseRecorder* tether_host_response_recorder_;
DISALLOW_COPY_AND_ASSIGN(HostScanDevicePrioritizerImpl);
};
} // namespace tether
} // namespace chromeos
#endif // CHROMEOS_COMPONENTS_TETHER_HOST_SCAN_DEVICE_PRIORITIZER_IMPL_H_