#include "components/safe_browsing/core/common/safe_browsing_prefs.h"
#include <string>
#include "base/command_line.h"
#include "base/strings/string_util.h"
#include "base/test/scoped_feature_list.h"
#include "base/values.h"
#include "build/build_config.h"
#include "components/prefs/pref_registry_simple.h"
#include "components/prefs/testing_pref_service.h"
#include "components/safe_browsing/core/common/features.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "url/gurl.h"
namespace safe_browsing {
using enum ExtendedReportingLevel;
class SafeBrowsingPrefsTest : public ::testing::Test { … };
TEST_F(SafeBrowsingPrefsTest,
TailoredSecuritySyncFlowLastRunTimeIsInitialized) { … }
TEST_F(SafeBrowsingPrefsTest,
TailoredSecuritySyncLastUserInteractionStateIsInitialized) { … }
TEST_F(SafeBrowsingPrefsTest,
TailoredSecurityNextSyncFlowTimestampIsInitialized) { … }
TEST_F(SafeBrowsingPrefsTest, TailoredSecuritySyncFlowRetryStateIsInitialized) { … }
TEST_F(SafeBrowsingPrefsTest,
TailoredSecuritySyncUserObservedOutcomeUnsetTimestampIsInitialized) { … }
TEST_F(SafeBrowsingPrefsTest, GetSafeBrowsingExtendedReportingLevel) { … }
TEST_F(SafeBrowsingPrefsTest,
GetSafeBrowsingExtendedReportingLevelWhenSBERDeprecated) { … }
TEST_F(SafeBrowsingPrefsTest, VerifyMatchesPasswordProtectionLoginURL) { … }
TEST_F(SafeBrowsingPrefsTest,
VerifyMatchesPasswordProtectionChangePasswordURL) { … }
TEST_F(SafeBrowsingPrefsTest, EnhancedProtection) { … }
TEST_F(SafeBrowsingPrefsTest, InitializesEsbProtegoPingWithTokenLastLogTime) { … }
TEST_F(SafeBrowsingPrefsTest,
InitializesEsbProtegoPingWithoutTokenLastLogTime) { … }
TEST_F(SafeBrowsingPrefsTest, IsExtendedReportingPolicyManaged) { … }
TEST_F(SafeBrowsingPrefsTest, VerifyIsURLAllowlistedByPolicy) { … }
TEST_F(SafeBrowsingPrefsTest, VerifyHashPrefixRealTimeChecksAllowedByPolicy) { … }
}