chromium/chrome/browser/enterprise/connectors/test/management_context_mixin.cc

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

#include "chrome/browser/enterprise/connectors/test/management_context_mixin.h"

#include <utility>

#include "base/check.h"
#include "base/run_loop.h"
#include "chrome/browser/enterprise/connectors/test/test_constants.h"
#include "components/policy/core/browser/browser_policy_connector.h"
#include "components/policy/core/common/policy_map.h"
#include "components/policy/core/common/policy_namespace.h"
#include "components/policy/core/common/policy_types.h"

#if BUILDFLAG(IS_CHROMEOS_ASH)
#include "chrome/browser/enterprise/connectors/test/ash/management_context_mixin_ash.h"
#else
#include "chrome/browser/enterprise/connectors/test/browser/management_context_mixin_browser.h"
#endif  // BUILDFLAG(IS_CHROMEOS_ASH)

namespace enterprise_connectors::test {

// static
std::unique_ptr<ManagementContextMixin> ManagementContextMixin::Create(
    InProcessBrowserTestMixinHost* host,
    InProcessBrowserTest* test_base,
    ManagementContext management_context) {}

ManagementContextMixin::ManagementContextMixin(
    InProcessBrowserTestMixinHost* host,
    InProcessBrowserTest* test_base,
    ManagementContext management_context)
    :{}

ManagementContextMixin::~ManagementContextMixin() = default;

void ManagementContextMixin::SetUpInProcessBrowserTestFixture() {}

void ManagementContextMixin::ManageCloudUser() {}

void ManagementContextMixin::SetCloudUserPolicies(
    base::flat_map<std::string, std::optional<base::Value>> policy_entries) {}

void ManagementContextMixin::ManageCloudMachine() {}

std::unique_ptr<enterprise_management::PolicyData>
ManagementContextMixin::GetBaseUserPolicyData() const {}

void ManagementContextMixin::MergeNewChromePolicies(
    policy::PolicyMap& new_policy_map) {}

}  // namespace enterprise_connectors::test