#include "chrome/browser/ui/views/location_bar/cookie_controls/cookie_controls_content_view.h"
#include "chrome/browser/ui/layout_constants.h"
#include "chrome/browser/ui/views/controls/rich_controls_container_view.h"
#include "chrome/browser/ui/views/frame/test_with_browser_view.h"
#include "chrome/grit/generated_resources.h"
#include "components/content_settings/core/common/cookie_controls_enforcement.h"
#include "components/content_settings/core/common/tracking_protection_feature.h"
#include "components/strings/grit/privacy_sandbox_strings.h"
#include "components/vector_icons/vector_icons.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "ui/base/l10n/l10n_util.h"
#include "ui/views/accessibility/view_accessibility.h"
#include "ui/views/controls/button/toggle_button.h"
#include "ui/views/controls/label.h"
#include "ui/views/interaction/element_tracker_views.h"
#include "ui/views/vector_icons.h"
#include "ui/views/view.h"
Contains;
Eq;
Property;
ImageModel;
class CookieControlsContentViewUnitTest : public TestWithBrowserView { … };
namespace {
TEST_F(CookieControlsContentViewUnitTest, FeedbackSection) { … }
TEST_F(CookieControlsContentViewUnitTest, ToggleButton_Initial) { … }
TEST_F(CookieControlsContentViewUnitTest, ToggleButton_UpdatedSites) { … }
}
class CookieControlsContentViewTrackingProtectionUnitTest
: public TestWithBrowserView { … };
namespace {
TEST_F(CookieControlsContentViewTrackingProtectionUnitTest,
CreateRowForThirdPartyCookiesWithProtectionsOff) { … }
TEST_F(CookieControlsContentViewTrackingProtectionUnitTest,
CreateRowForThirdPartyCookiesWithProtectionsOn) { … }
TEST_F(CookieControlsContentViewTrackingProtectionUnitTest,
CreateRowForThirdPartyCookiesWithEnforcementByCookieSetting) { … }
TEST_F(CookieControlsContentViewTrackingProtectionUnitTest,
CreateManagedSectionForCookieSettingEnforcement) { … }
TEST_F(CookieControlsContentViewTrackingProtectionUnitTest,
CreateManagedSectionForPolicyEnforcement) { … }
}