mirror of
https://github.com/klzgrad/naiveproxy.git
synced 2024-11-28 16:26:10 +03:00
49 lines
1.9 KiB
Plaintext
49 lines
1.9 KiB
Plaintext
|
// Copyright 2017 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 "mojo/public/mojom/base/time.mojom";
|
||
|
import "url/mojom/url.mojom";
|
||
|
|
||
|
interface ReportingServiceProxy {
|
||
|
// Attempts to queue an Intervention report using the Reporting API.
|
||
|
//
|
||
|
// (See //third_party/blink/renderer/core/frame/intervention_report.h.)
|
||
|
QueueInterventionReport(url.mojom.Url url,
|
||
|
string message,
|
||
|
string source_file,
|
||
|
int32 line_number,
|
||
|
int32 column_number);
|
||
|
|
||
|
// Attempts to queue a Deprecation report using the Reporting API.
|
||
|
//
|
||
|
// (See //third_party/blink/renderer/core/frame/deprecation_report.h.)
|
||
|
QueueDeprecationReport(url.mojom.Url url,
|
||
|
string id,
|
||
|
mojo_base.mojom.Time anticipatedRemoval,
|
||
|
string message,
|
||
|
string source_file,
|
||
|
int32 line_number,
|
||
|
int32 column_number);
|
||
|
|
||
|
// Attempts to queue a CSP Violation report using the Reporting API.
|
||
|
//
|
||
|
// (See //third_party/blink/renderer/core/events/security_policy_violation_event.h.)
|
||
|
QueueCspViolationReport(url.mojom.Url url,
|
||
|
string group,
|
||
|
string document_uri,
|
||
|
string referrer,
|
||
|
string violated_directive,
|
||
|
string effective_directive,
|
||
|
string original_policy,
|
||
|
string disposition,
|
||
|
string blocked_uri,
|
||
|
int32 line_number,
|
||
|
int32 column_number,
|
||
|
string source_file,
|
||
|
int32 status_code,
|
||
|
string script_sample);
|
||
|
};
|