| OLD | NEW |
| (Empty) | |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 module content.mojom; |
| 6 |
| 7 import "mojo/common/values.mojom"; |
| 8 import "url/mojo/url.mojom"; |
| 9 |
| 10 interface ReportingServiceProxy { |
| 11 // Attempts to queue a report using the Reporting API. |
| 12 // |
| 13 // |url| is the URL that generated the report. |
| 14 // |
| 15 // |group| is the endpoint group that should receive the report. This should |
| 16 // be configured for the feature using Reporting by the site that generated |
| 17 // the report. |
| 18 // |
| 19 // |type| is the type of report (for example, "csp" or "hpkp"). This should be |
| 20 // set to a fixed value by the feature using Reporting. |
| 21 // |
| 22 // |body| is the body. It can be any valid Value. |
| 23 QueueReport(url.mojom.Url url, |
| 24 string group, |
| 25 string type, |
| 26 mojo.common.mojom.Value body); |
| 27 }; |
| OLD | NEW |