blob: be5d76b02b7ac6416fa98510c3a4a36542656732 [file] [log] [blame]
// Copyright 2019 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.
#include "base/macros.h"
#include "remoting/proto/ftl/v1/ftl_messages.pb.h"
namespace remoting {
// Class that provides device ID to be used to sign in for FTL.
class FtlDeviceIdProvider {
virtual ~FtlDeviceIdProvider() = default;
// Gets a device ID to use for signing into FTL. It's the subclass'
// responsibility to store and reuse stored device ID.
// Subclass should consider adding prefix to the device ID, like
// "crd-win-host-".
virtual ftl::DeviceId GetDeviceId() = 0;
} // namespace remoting