chromium/components/security_interstitials/core/https_only_mode_allowlist.h

// Copyright 2022 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_ALLOWLIST_H_
#define COMPONENTS_SECURITY_INTERSTITIALS_CORE_HTTPS_ONLY_MODE_ALLOWLIST_H_

#include <set>

#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 allowlist decisions for HTTPS-Only Mode.
// A user can allowlist a site by clicking through its HTTPS-Only Mode
// interstitial. For default storage partitions (e.g. non-incognito mode), the
// decision is stored in content settings. Otherwise, it's stored in memory.
class HttpsOnlyModeAllowlist {};

}  // namespace security_interstitials

#endif  // COMPONENTS_SECURITY_INTERSTITIALS_CORE_HTTPS_ONLY_MODE_ALLOWLIST_H_