[Eraser strings] Remove unused Supervised User infobar and corresponding strings
[chromium-blink-merge.git] / chrome / browser / policy / managed_bookmarks_policy_handler.h
blobbbe09cb5ea6ad510ca6670b082a754ab5297c38c
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"
10 namespace base {
11 class ListValue;
14 namespace policy {
16 // Handles the ManagedBookmarks policy.
17 class ManagedBookmarksPolicyHandler : public SchemaValidatingPolicyHandler {
18 public:
19 explicit ManagedBookmarksPolicyHandler(Schema chrome_schema);
20 ~ManagedBookmarksPolicyHandler() override;
22 // ConfigurationPolicyHandler methods:
23 void ApplyPolicySettings(const PolicyMap& policies,
24 PrefValueMap* prefs) override;
26 private:
27 void FilterBookmarks(base::ListValue* bookmarks);
29 DISALLOW_COPY_AND_ASSIGN(ManagedBookmarksPolicyHandler);
32 } // namespace policy
34 #endif // CHROME_BROWSER_POLICY_MANAGED_BOOKMARKS_POLICY_HANDLER_H_