Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(439)

Side by Side Diff: chrome/browser/ui/webui/engagement/site_engagement.mojom

Issue 2083433002: Mojo: Remove url type converters. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 };
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/engagement/OWNERS ('k') | chrome/browser/ui/webui/engagement/site_engagement_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698