#include "components/bookmarks/managed/managed_bookmarks_policy_handler.h"
#include <memory>
#include <utility>
#include "base/json/json_reader.h"
#include "base/memory/ptr_util.h"
#include "components/bookmarks/common/bookmark_pref_names.h"
#include "components/policy/core/browser/configuration_policy_pref_store.h"
#include "components/policy/core/browser/configuration_policy_pref_store_test.h"
#include "components/policy/core/common/policy_map.h"
#include "components/policy/core/common/policy_types.h"
#include "components/policy/core/common/schema.h"
#include "components/policy/policy_constants.h"
namespace bookmarks {
POLICY_LEVEL_MANDATORY;
POLICY_SCOPE_USER;
POLICY_SOURCE_CLOUD;
PolicyMap;
Schema;
kManagedBookmarks;
class ManagedBookmarksPolicyHandlerTest
: public policy::ConfigurationPolicyPrefStoreTest { … };
TEST_F(ManagedBookmarksPolicyHandlerTest, ApplyPolicySettings) { … }
TEST_F(ManagedBookmarksPolicyHandlerTest, ApplyPolicySettingsNoTitle) { … }
TEST_F(ManagedBookmarksPolicyHandlerTest, WrongPolicyType) { … }
TEST_F(ManagedBookmarksPolicyHandlerTest, UnknownKeys) { … }
TEST_F(ManagedBookmarksPolicyHandlerTest, BadBookmark) { … }
}