naiveproxy/third_party/WebKit/public/platform/reporting.mojom

26 lines
902 B
Plaintext
Raw Normal View History

2018-01-28 19:30:36 +03:00
// 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 "url/mojo/url.mojom";
interface ReportingServiceProxy {
// Attempts to queue an Intervention report using the Reporting API.
//
// (See //third_party/WebKit/Source/core/frame/InterventionReport.h.)
QueueInterventionReport(url.mojom.Url url,
string message,
string source_file,
int32 line_number);
// Attempts to queue a Deprecation report using the Reporting API.
//
// (See //third_party/WebKit/Source/core/frame/DeprecationReport.h.)
QueueDeprecationReport(url.mojom.Url url,
string message,
string source_file,
int32 line_number);
};