blob: 0b888a734ded5ce4803d11ea9c00e916e94eaaa9 [file] [log] [blame]
// Copyright 2020 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.
#import "ios/chrome/browser/policy/browser_state_policy_connector_mock.h"
#include "components/policy/core/common/policy_service_impl.h"
#include "components/policy/core/common/schema_registry.h"
#if !defined(__has_feature) || !__has_feature(objc_arc)
#error "This file requires ARC support."
#endif
BrowserStatePolicyConnectorMock::BrowserStatePolicyConnectorMock(
std::unique_ptr<policy::PolicyService> policy_service,
policy::SchemaRegistry* schema_registry) {
policy_service_ = std::move(policy_service);
schema_registry_ = schema_registry;
}
BrowserStatePolicyConnectorMock::~BrowserStatePolicyConnectorMock() = default;