• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // Copyright (c) 2010 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 #include "chrome/browser/policy/file_based_policy_provider.h"
6 
7 #include "chrome/browser/policy/file_based_policy_loader.h"
8 
9 namespace policy {
10 
ProviderDelegate(const FilePath & config_file_path)11 FileBasedPolicyProvider::ProviderDelegate::ProviderDelegate(
12     const FilePath& config_file_path)
13     : config_file_path_(config_file_path) {}
14 
~ProviderDelegate()15 FileBasedPolicyProvider::ProviderDelegate::~ProviderDelegate() {}
16 
FileBasedPolicyProvider(const ConfigurationPolicyProvider::PolicyDefinitionList * policy_list,FileBasedPolicyProvider::ProviderDelegate * delegate)17 FileBasedPolicyProvider::FileBasedPolicyProvider(
18     const ConfigurationPolicyProvider::PolicyDefinitionList* policy_list,
19     FileBasedPolicyProvider::ProviderDelegate* delegate)
20     : AsynchronousPolicyProvider(
21         policy_list,
22         new FileBasedPolicyLoader(delegate)) {}
23 
24 }  // namespace policy
25