#include "components/safe_browsing/content/renderer/websocket_sb_extensions_handshake_throttle.h"
#include "base/metrics/histogram_functions.h"
#include "extensions/common/constants.h"
#include "third_party/blink/public/platform/web_security_origin.h"
#include "third_party/blink/public/platform/web_url.h"
namespace safe_browsing {
WebSocketSBExtensionsHandshakeThrottle::WebSocketSBExtensionsHandshakeThrottle(
mojom::ExtensionWebRequestReporter* extension_web_request_reporter)
: … { … }
WebSocketSBExtensionsHandshakeThrottle::
~WebSocketSBExtensionsHandshakeThrottle() = default;
void WebSocketSBExtensionsHandshakeThrottle::ThrottleHandshake(
const blink::WebURL& url,
const blink::WebSecurityOrigin& creator_origin,
const blink::WebSecurityOrigin& isolated_world_origin,
blink::WebSocketHandshakeThrottle::OnCompletion completion_callback) { … }
void WebSocketSBExtensionsHandshakeThrottle::MaybeSendExtensionWebRequestData(
const blink::WebURL& url,
const blink::WebSecurityOrigin& creator_origin,
const blink::WebSecurityOrigin& isolated_world_origin) { … }
}