summaryrefslogtreecommitdiffstats
path: root/chrome/browser/policy/dummy_configuration_policy_provider.h
blob: 2c519cb1132aa2f616e04a1789a6cc41e79d4e2a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
// Copyright (c) 2010 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.

#ifndef CHROME_BROWSER_POLICY_DUMMY_CONFIGURATION_POLICY_PROVIDER_H_
#define CHROME_BROWSER_POLICY_DUMMY_CONFIGURATION_POLICY_PROVIDER_H_
#pragma once

#include "chrome/browser/policy/configuration_policy_store_interface.h"
#include "chrome/browser/policy/configuration_policy_provider.h"

namespace policy {

class DummyConfigurationPolicyProvider : public ConfigurationPolicyProvider {
 public:
  explicit DummyConfigurationPolicyProvider(
      const PolicyDefinitionList* policy_list)
      : ConfigurationPolicyProvider(policy_list) {
  }
  virtual ~DummyConfigurationPolicyProvider() {}

  virtual bool Provide(ConfigurationPolicyStoreInterface* store) {
    return true;
  }

 private:
  DISALLOW_COPY_AND_ASSIGN(DummyConfigurationPolicyProvider);
};

}  // namespace policy

#endif  // CHROME_BROWSER_POLICY_DUMMY_CONFIGURATION_POLICY_PROVIDER_H_