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

Unified Diff: chrome/browser/ui/webui/engagement/site_engagement.mojom

Issue 1316043003: Add chrome://site-engagement WebUI. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@navigation_smarter
Patch Set: use Polymer Created 5 years, 3 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/webui/engagement/site_engagement.mojom
diff --git a/content/public/common/service_worker_event_status.mojom b/chrome/browser/ui/webui/engagement/site_engagement.mojom
similarity index 50%
copy from content/public/common/service_worker_event_status.mojom
copy to chrome/browser/ui/webui/engagement/site_engagement.mojom
index 020d0e82e88cbb9dd52b2cf53651b629136a8910..13acd60fb8fee7cb7f22eb23f4fd7e0b3e3c8bf4 100644
--- a/content/public/common/service_worker_event_status.mojom
+++ b/chrome/browser/ui/webui/engagement/site_engagement.mojom
@@ -2,11 +2,11 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-module content;
+struct SiteEngagementInfo {
+ string origin;
+ int32 score;
+};
-enum ServiceWorkerEventStatus {
- COMPLETED,
- REJECTED,
- ABORTED,
- MAX=ABORTED
+interface SiteEngagementUIHandlerMojo {
Sam McNally 2015/09/08 08:25:47 The current convention is to call this SiteEngagem
calamity 2015/09/10 06:57:33 Done.
+ GetSiteEngagementInfo() => (array<SiteEngagementInfo> info);
};

Powered by Google App Engine
This is Rietveld 408576698