1 // Copyright 2020 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4 
5 #ifndef IOS_CHROME_BROWSER_POLICY_SCHEMA_REGISTRY_FACTORY_H_
6 #define IOS_CHROME_BROWSER_POLICY_SCHEMA_REGISTRY_FACTORY_H_
7 
8 #include <memory>
9 
10 class ChromeBrowserState;
11 
12 namespace policy {
13 class CombinedSchemaRegistry;
14 class Schema;
15 class SchemaRegistry;
16 }  // namespace policy
17 
18 std::unique_ptr<policy::SchemaRegistry> BuildSchemaRegistryForBrowserState(
19     ChromeBrowserState* browser_state,
20     const policy::Schema& chrome_schema,
21     policy::CombinedSchemaRegistry* global_registry);
22 
23 #endif  // IOS_CHROME_BROWSER_POLICY_SCHEMA_REGISTRY_FACTORY_H_
24