#include <string>
#include <vector>
#include "base/memory/ptr_util.h"
#include "base/strings/stringprintf.h"
#include "base/values.h"
#include "build/build_config.h"
#include "chrome/browser/browser_process.h"
#include "chrome/browser/policy/safe_browsing_policy_test.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/safe_browsing/chrome_password_protection_service.h"
#include "chrome/test/base/chrome_test_utils.h"
#include "components/policy/core/common/policy_map.h"
#include "components/policy/policy_constants.h"
#include "components/prefs/pref_service.h"
#include "components/safe_browsing/core/common/features.h"
#include "components/safe_browsing/core/common/safe_browsing_prefs.h"
#include "content/public/test/browser_test.h"
#include "content/public/test/browser_test_utils.h"
#include "net/test/embedded_test_server/embedded_test_server.h"
#include "url/gurl.h"
ReusedPasswordAccountType;
Return;
namespace policy {
int IsEnhancedProtectionMessageVisibleOnInterstitial(
SafeBrowsingPolicyTest* browser_test) { … }
IN_PROC_BROWSER_TEST_F(SafeBrowsingPolicyTest,
SafeBrowsingExtendedReportingPolicyManaged) { … }
#if !BUILDFLAG(IS_ANDROID)
IN_PROC_BROWSER_TEST_F(SafeBrowsingPolicyTest, SafeBrowsingStatePolicyManaged) { … }
IN_PROC_BROWSER_TEST_F(SafeBrowsingPolicyTest, SafeBrowsingAllowlistDomains) { … }
IN_PROC_BROWSER_TEST_F(SafeBrowsingPolicyTest, PasswordProtectionLoginURLs) { … }
IN_PROC_BROWSER_TEST_F(SafeBrowsingPolicyTest,
PasswordProtectionChangePasswordURL) { … }
class MockPasswordProtectionService
: public safe_browsing::ChromePasswordProtectionService { … };
IN_PROC_BROWSER_TEST_F(SafeBrowsingPolicyTest,
PasswordProtectionWarningTriggerNotLoggedIn) { … }
IN_PROC_BROWSER_TEST_F(SafeBrowsingPolicyTest,
PasswordProtectionWarningTriggerGmail) { … }
IN_PROC_BROWSER_TEST_F(SafeBrowsingPolicyTest,
PasswordProtectionWarningTriggerGSuite) { … }
#endif
}