#include "content/browser/devtools/protocol/security_handler.h"
#include <memory>
#include <string>
#include <utility>
#include <vector>
#include "base/containers/contains.h"
#include "base/strings/string_number_conversions.h"
#include "content/browser/devtools/devtools_agent_host_impl.h"
#include "content/browser/renderer_host/back_forward_cache_disable.h"
#include "content/browser/renderer_host/render_frame_host_impl.h"
#include "content/public/browser/back_forward_cache.h"
#include "content/public/browser/navigation_controller.h"
#include "content/public/browser/navigation_entry.h"
#include "content/public/browser/navigation_handle.h"
#include "content/public/browser/web_contents.h"
#include "content/public/browser/web_contents_delegate.h"
namespace content {
namespace protocol {
std::vector<SecurityHandler*> SecurityHandler::ForAgentHost(
DevToolsAgentHostImpl* host) { … }
SecurityHandler::SecurityHandler()
: … { … }
SecurityHandler::~SecurityHandler() = default;
void SecurityHandler::Wire(UberDispatcher* dispatcher) { … }
void SecurityHandler::AttachToRenderFrameHost() { … }
void SecurityHandler::SetRenderer(int process_host_id,
RenderFrameHostImpl* frame_host) { … }
void SecurityHandler::DidFinishNavigation(NavigationHandle* navigation_handle) { … }
void SecurityHandler::FlushPendingCertificateErrorNotifications() { … }
bool SecurityHandler::IsIgnoreCertificateErrorsSet() const { … }
bool SecurityHandler::NotifyCertificateError(int cert_error,
const GURL& request_url,
CertErrorCallback handler) { … }
Response SecurityHandler::Enable() { … }
Response SecurityHandler::Disable() { … }
Response SecurityHandler::HandleCertificateError(int event_id,
const String& action) { … }
Response SecurityHandler::SetOverrideCertificateErrors(bool override) { … }
Response SecurityHandler::SetIgnoreCertificateErrors(bool ignore) { … }
Response SecurityHandler::AssureTopLevelActiveFrame() { … }
}
}