// Copyright 2017 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_CONTENT_SSL_ERROR_ASSISTANT_H_ #define COMPONENTS_SECURITY_INTERSTITIALS_CONTENT_SSL_ERROR_ASSISTANT_H_ #include <optional> #include <string> #include <unordered_set> #include <vector> #include "components/security_interstitials/content/ssl_error_assistant.pb.h" #include "net/ssl/ssl_info.h" #include "url/gurl.h" namespace net { class SSLInfo; } // Struct which stores data about a known MITM software pulled from the // SSLErrorAssistant proto. struct MITMSoftwareType { … }; // Struct which stores data about a dynamic interstitial pulled from the // SSLErrorAssistant proto. struct DynamicInterstitialInfo { … }; // Helper class for SSLErrorHandler. This class is responsible for reading in // the ssl_error_assistant protobuf and parsing through the data. class SSLErrorAssistant { … }; #endif // COMPONENTS_SECURITY_INTERSTITIALS_CONTENT_SSL_ERROR_ASSISTANT_H_