blob: 5019ab359fa1c0980c848b764f65d25fdbbbbb94 [file] [log] [blame]
// Copyright 2015 The Chromium OS 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 PRIVETD_IDENTITY_DELEGATE_H_
#define PRIVETD_IDENTITY_DELEGATE_H_
#include <string>
namespace privetd {
// Interface for an object that can identify ourselves.
class IdentityDelegate {
public:
IdentityDelegate() = default;
virtual ~IdentityDelegate() = default;
// Returns a unique identifier for this device.
virtual std::string GetId() const = 0;
};
} // namespace privetd
#endif // PRIVETD_IDENTITY_DELEGATE_H_