// Copyright 2023 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef COMPONENTS_SECURITY_INTERSTITIALS_CORE_HTTPS_ONLY_MODE_ENFORCELIST_H_ #define COMPONENTS_SECURITY_INTERSTITIALS_CORE_HTTPS_ONLY_MODE_ENFORCELIST_H_ #include <set> #include <string> #include "base/memory/raw_ptr.h" #include "base/time/time.h" #include "base/values.h" #include "components/content_settings/core/browser/host_content_settings_map.h" #include "url/gurl.h" namespace base { class Clock; } namespace security_interstitials { // Stores enforcelist decisions for HTTPS-First Mode. HFM can get enforced on // a site if its site engagement scores indicate that the user interacts with // its HTTPS URLs much more than its HTTP URLs. // For default storage partitions (e.g. non-incognito mode), the // decision is stored in content settings. Otherwise, it's stored in memory. class HttpsOnlyModeEnforcelist { … }; } // namespace security_interstitials #endif // COMPONENTS_SECURITY_INTERSTITIALS_CORE_HTTPS_ONLY_MODE_ENFORCELIST_H_