chromium/chromeos/ash/services/multidevice_setup/fake_global_state_feature_manager.cc

// Copyright 2021 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "chromeos/ash/services/multidevice_setup/fake_global_state_feature_manager.h"

namespace ash {

namespace multidevice_setup {

FakeGlobalStateFeatureManager::FakeGlobalStateFeatureManager()
    : GlobalStateFeatureManager() {}

FakeGlobalStateFeatureManager::~FakeGlobalStateFeatureManager() = default;

void FakeGlobalStateFeatureManager::SetIsFeatureEnabled(bool enabled) {
  is_feature_enabled_ = enabled;
}

bool FakeGlobalStateFeatureManager::IsFeatureEnabled() {
  return is_feature_enabled_;
}

}  // namespace multidevice_setup

}  // namespace ash