Home | History | Annotate | Download | only in policy
      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 
     11 FileBasedPolicyProvider::ProviderDelegate::ProviderDelegate(
     12     const FilePath& config_file_path)
     13     : config_file_path_(config_file_path) {}
     14 
     15 FileBasedPolicyProvider::ProviderDelegate::~ProviderDelegate() {}
     16 
     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