| Index: third_party/WebKit/public/platform/reporting.mojom
|
| diff --git a/third_party/WebKit/public/platform/reporting.mojom b/third_party/WebKit/public/platform/reporting.mojom
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..ab0c201454023bf8668f6076c48bdd19973a2a5b
|
| --- /dev/null
|
| +++ b/third_party/WebKit/public/platform/reporting.mojom
|
| @@ -0,0 +1,27 @@
|
| +// 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 content.mojom;
|
| +
|
| +import "mojo/common/values.mojom";
|
| +import "url/mojo/url.mojom";
|
| +
|
| +interface ReportingServiceProxy {
|
| + // Attempts to queue a report using the Reporting API.
|
| + //
|
| + // |url| is the URL that generated the report.
|
| + //
|
| + // |group| is the endpoint group that should receive the report. This should
|
| + // be configured for the feature using Reporting by the site that generated
|
| + // the report.
|
| + //
|
| + // |type| is the type of report (for example, "csp" or "hpkp"). This should be
|
| + // set to a fixed value by the feature using Reporting.
|
| + //
|
| + // |body| is the body. It can be any valid Value.
|
| + QueueReport(url.mojom.Url url,
|
| + string group,
|
| + string type,
|
| + mojo.common.mojom.Value body);
|
| +};
|
|
|