chromium/chrome/browser/content_settings/content_settings_policy_provider_unittest.cc

// Copyright 2011 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/content_settings/core/browser/content_settings_policy_provider.h"

#include <memory>
#include <string>

#include "base/auto_reset.h"
#include "base/command_line.h"
#include "base/test/metrics/histogram_tester.h"
#include "base/test/scoped_feature_list.h"
#include "chrome/common/chrome_switches.h"
#include "chrome/common/url_constants.h"
#include "chrome/test/base/testing_profile.h"
#include "components/content_settings/core/browser/content_settings_mock_observer.h"
#include "components/content_settings/core/browser/content_settings_rule.h"
#include "components/content_settings/core/browser/content_settings_utils.h"
#include "components/content_settings/core/common/content_settings_pattern.h"
#include "components/content_settings/core/common/content_settings_utils.h"
#include "components/content_settings/core/common/pref_names.h"
#include "components/content_settings/core/test/content_settings_test_utils.h"
#include "components/prefs/pref_service.h"
#include "components/sync_preferences/testing_pref_service_syncable.h"
#include "content/public/test/browser_task_environment.h"
#include "net/cookies/cookie_constants.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "url/gurl.h"

_;

namespace content_settings {

class PolicyProviderTest : public testing::Test {};

TEST_F(PolicyProviderTest, DefaultGeolocationContentSetting) {}

TEST_F(PolicyProviderTest, ManagedDefaultContentSettings) {}

// When a default-content-setting is set to a managed setting a
// CONTENT_SETTINGS_CHANGED notification should be fired. The same should happen
// if the managed setting is removed.
TEST_F(PolicyProviderTest, ObserveManagedSettingsChange) {}

TEST_F(PolicyProviderTest, GettingManagedContentSettings) {}

TEST_F(PolicyProviderTest, AutoSelectCertificateList) {}

TEST_F(PolicyProviderTest, InvalidAutoSelectCertificateList) {}

TEST_F(PolicyProviderTest, InvalidManagedDefaultContentSetting) {}

TEST_F(PolicyProviderTest, CookiesAllowedForUrlsUsageHistogram) {}

}  // namespace content_settings