chromium/components/safe_browsing/core/common/safe_browsing_policy_handler_unittest.cc

// Copyright 2020 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "components/safe_browsing/core/common/safe_browsing_policy_handler.h"

#include <vector>

#include "base/memory/ptr_util.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/policy_constants.h"
#include "components/safe_browsing/core/common/safe_browsing_prefs.h"
#include "testing/gtest/include/gtest/gtest.h"

namespace safe_browsing {

class SafeBrowsingPolicyHandlerTest
    : public policy::ConfigurationPolicyPrefStoreTest {};

TEST_F(SafeBrowsingPolicyHandlerTest, OnlyNewPolicySet) {}

TEST_F(SafeBrowsingPolicyHandlerTest, OnlyLegacyPolicySet) {}

TEST_F(SafeBrowsingPolicyHandlerTest, NewPolicyOverridesLegacyPolicy) {}

TEST_F(SafeBrowsingPolicyHandlerTest, LegacyPolicyAppliesIfNewPolicyInvalid) {}

TEST_F(SafeBrowsingPolicyHandlerTest, NewPolicyAppliesIfLegacyPolicyInvalid) {}

}  // namespace safe_browsing