blob: 06426144943e35c07b88e3d671a440d9e5727f0a [file] [log] [blame]
// Copyright 2013 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_SYNC_SYNC_POLICY_HANDLER_H_
#define CHROME_BROWSER_SYNC_SYNC_POLICY_HANDLER_H_
#include "base/compiler_specific.h"
#include "components/policy/core/browser/configuration_policy_handler.h"
class PrefValueMap;
namespace browser_sync {
class PolicyMap;
// ConfigurationPolicyHandler for the SyncDisabled policy.
class SyncPolicyHandler : public policy::TypeCheckingPolicyHandler {
public:
SyncPolicyHandler();
~SyncPolicyHandler() override;
// ConfigurationPolicyHandler methods:
void ApplyPolicySettings(const policy::PolicyMap& policies,
PrefValueMap* prefs) override;
private:
DISALLOW_COPY_AND_ASSIGN(SyncPolicyHandler);
};
} // namespace browser_sync
#endif // CHROME_BROWSER_SYNC_SYNC_POLICY_HANDLER_H_