blob: b8ce6b692b161f9bba0f2172d68d0dbc3eab4da5 [file] [log] [blame]
// Copyright 2018 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
module blink.mojom;
import "services/network/public/mojom/content_security_policy.mojom";
// Represents the document that has initiated the navigation. If the initiator
// is still alive and the navigation is blocked by the "navigate-to" directive,
// the initiator received a CSP violation report.
//
// Caller: content::InitiatorCSPContext (browser process).
// Callee: blink::NavigationInitiatorImpl (renderer process)
interface NavigationInitiator {
// See interface description.
SendViolationReport(network.mojom.CSPViolation violation);
};