| Index: chrome/browser/policy/configuration_policy_handler_list.h
|
| diff --git a/chrome/browser/policy/configuration_policy_handler_list.h b/chrome/browser/policy/configuration_policy_handler_list.h
|
| deleted file mode 100644
|
| index 95b2008786a25547a589c88a0e061269030e7f04..0000000000000000000000000000000000000000
|
| --- a/chrome/browser/policy/configuration_policy_handler_list.h
|
| +++ /dev/null
|
| @@ -1,55 +0,0 @@
|
| -// Copyright (c) 2012 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_CONFIGURATION_POLICY_HANDLER_LIST_H_
|
| -#define CHROME_BROWSER_POLICY_CONFIGURATION_POLICY_HANDLER_LIST_H_
|
| -
|
| -#include <vector>
|
| -
|
| -#include "base/basictypes.h"
|
| -#include "base/callback.h"
|
| -#include "base/memory/scoped_ptr.h"
|
| -#include "components/policy/core/common/policy_details.h"
|
| -
|
| -class PrefValueMap;
|
| -
|
| -namespace policy {
|
| -
|
| -class ConfigurationPolicyHandler;
|
| -class PolicyErrorMap;
|
| -class PolicyMap;
|
| -struct PolicyToPreferenceMapEntry;
|
| -
|
| -// Converts policies to their corresponding preferences by applying a list of
|
| -// ConfigurationPolicyHandler objects. This includes error checking and
|
| -// cleaning up policy values for displaying.
|
| -class ConfigurationPolicyHandlerList {
|
| - public:
|
| - explicit ConfigurationPolicyHandlerList(
|
| - const GetChromePolicyDetailsCallback& details_callback);
|
| - ~ConfigurationPolicyHandlerList();
|
| -
|
| - // Adds a policy handler to the list.
|
| - void AddHandler(scoped_ptr<ConfigurationPolicyHandler> handler);
|
| -
|
| - // Translates |policies| to their corresponding preferences in |prefs|.
|
| - // Any errors found while processing the policies are stored in |errors|.
|
| - // |prefs| or |errors| can be NULL, and won't be filled in that case.
|
| - void ApplyPolicySettings(const PolicyMap& policies,
|
| - PrefValueMap* prefs,
|
| - PolicyErrorMap* errors) const;
|
| -
|
| - // Converts sensitive policy values to others more appropriate for displaying.
|
| - void PrepareForDisplaying(PolicyMap* policies) const;
|
| -
|
| - private:
|
| - std::vector<ConfigurationPolicyHandler*> handlers_;
|
| - GetChromePolicyDetailsCallback details_callback_;
|
| -
|
| - DISALLOW_COPY_AND_ASSIGN(ConfigurationPolicyHandlerList);
|
| -};
|
| -
|
| -} // namespace policy
|
| -
|
| -#endif // CHROME_BROWSER_POLICY_CONFIGURATION_POLICY_HANDLER_LIST_H_
|
|
|