summaryrefslogtreecommitdiff
path: root/chromium/components/cryptauth/fake_cryptauth_device_id_provider.cc
blob: 71c1057d489c033b4b84505830df6ff05e2851fa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// Copyright 2018 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 "components/cryptauth/fake_cryptauth_device_id_provider.h"

namespace cryptauth {

FakeCryptAuthDeviceIdProvider::FakeCryptAuthDeviceIdProvider(
    const std::string& device_id)
    : device_id_(device_id) {}

FakeCryptAuthDeviceIdProvider::~FakeCryptAuthDeviceIdProvider() = default;

std::string FakeCryptAuthDeviceIdProvider::GetDeviceId() const {
  return device_id_;
}

}  // namespace cryptauth