OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 module mojom; | 5 module mojom; |
6 | 6 |
| 7 import "url/mojo/url.mojom"; |
| 8 |
7 struct SiteEngagementInfo { | 9 struct SiteEngagementInfo { |
8 string origin; | 10 url.mojom.Url origin; |
9 double score; | 11 double score; |
10 }; | 12 }; |
11 | 13 |
12 interface SiteEngagementUIHandler { | 14 interface SiteEngagementUIHandler { |
13 GetSiteEngagementInfo() => (array<SiteEngagementInfo> info); | 15 GetSiteEngagementInfo() => (array<SiteEngagementInfo> info); |
14 SetSiteEngagementScoreForOrigin(string origin, double score); | 16 SetSiteEngagementScoreForOrigin(url.mojom.Url origin, double score); |
15 }; | 17 }; |
OLD | NEW |