#include "chrome/browser/ssl/sct_reporting_service.h"
#include "base/feature_list.h"
#include "base/metrics/histogram_functions.h"
#include "base/no_destructor.h"
#include "base/strings/escape.h"
#include "chrome/browser/browser_process.h"
#include "chrome/browser/net/system_network_context_manager.h"
#include "chrome/browser/safe_browsing/safe_browsing_service.h"
#include "chrome/common/chrome_features.h"
#include "chrome/common/pref_names.h"
#include "components/prefs/pref_service.h"
#include "components/safe_browsing/core/common/safe_browsing_prefs.h"
#include "content/public/browser/network_service_instance.h"
#include "content/public/browser/storage_partition.h"
#include "google_apis/google_api_keys.h"
#include "net/traffic_annotation/network_traffic_annotation.h"
#include "services/network/public/mojom/network_context.mojom.h"
#include "services/network/public/mojom/network_service.mojom.h"
#include "third_party/abseil-cpp/absl/utility/utility.h"
constexpr net::NetworkTrafficAnnotationTag kSCTAuditReportTrafficAnnotation = …;
constexpr net::NetworkTrafficAnnotationTag kSCTHashdanceTrafficAnnotation = …;
constexpr char kSBSCTAuditingReportURL[] = …;
constexpr char kHashdanceLookupQueryURL[] = …;
constexpr int kSCTAuditingHashdanceMaxReports = …;
GURL& SCTReportingService::GetReportURLInstance() { … }
GURL& SCTReportingService::GetHashdanceLookupQueryURLInstance() { … }
void SCTReportingService::ReconfigureAfterNetworkRestart() { … }
bool SCTReportingService::CanSendSCTAuditingReport() { … }
void SCTReportingService::OnNewSCTAuditingReportSent() { … }
SCTReportingService::SCTReportingService(
safe_browsing::SafeBrowsingService* safe_browsing_service,
Profile* profile)
: … { … }
SCTReportingService::~SCTReportingService() = default;
network::mojom::SCTAuditingMode SCTReportingService::GetReportingMode() { … }
void SCTReportingService::OnPreferenceChanged() { … }