// Copyright 2012 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CONTENT_BROWSER_SSL_SSL_ERROR_HANDLER_H_ #define CONTENT_BROWSER_SSL_SSL_ERROR_HANDLER_H_ #include "base/memory/raw_ptr.h" #include "base/memory/weak_ptr.h" #include "content/public/browser/browser_thread.h" #include "content/public/browser/global_request_id.h" #include "net/ssl/ssl_info.h" #include "url/gurl.h" namespace net { class URLRequest; } // namespace net namespace content { class WebContents; // SSLErrorHandler is the UI-thread class for handling SSL certificate // errors. Users of this class can call CancelRequest(), // ContinueRequest(), or DenyRequest() when a decision about how to // handle the error has been made. Users of this class must // call exactly one of those methods exactly once. class SSLErrorHandler { … }; } // namespace content #endif // CONTENT_BROWSER_SSL_SSL_ERROR_HANDLER_H_