chromium/components/safe_browsing/content/renderer/websocket_sb_extensions_handshake_throttle.cc

// 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.

#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) {}

}  // namespace safe_browsing