1 // Copyright 2014 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.
5 #ifndef CHROME_BROWSER_POLICY_MANAGED_BOOKMARKS_POLICY_HANDLER_H_
6 #define CHROME_BROWSER_POLICY_MANAGED_BOOKMARKS_POLICY_HANDLER_H_
8 #include "components/policy/core/browser/configuration_policy_handler.h"
16 // Handles the ManagedBookmarks policy.
17 class ManagedBookmarksPolicyHandler
: public SchemaValidatingPolicyHandler
{
19 explicit ManagedBookmarksPolicyHandler(Schema chrome_schema
);
20 ~ManagedBookmarksPolicyHandler() override
;
22 // ConfigurationPolicyHandler methods:
23 void ApplyPolicySettings(const PolicyMap
& policies
,
24 PrefValueMap
* prefs
) override
;
27 void FilterBookmarks(base::ListValue
* bookmarks
);
29 DISALLOW_COPY_AND_ASSIGN(ManagedBookmarksPolicyHandler
);
34 #endif // CHROME_BROWSER_POLICY_MANAGED_BOOKMARKS_POLICY_HANDLER_H_