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

Unified Diff: components/dom_distiller/content/common/distiller_javascript_service.mojom

Issue 1231083007: Expose distiller functions to JavaScript (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@refactor-content
Patch Set: Address comments Created 5 years, 4 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: components/dom_distiller/content/common/distiller_javascript_service.mojom
diff --git a/content/public/common/service_worker_event_status.mojom b/components/dom_distiller/content/common/distiller_javascript_service.mojom
similarity index 62%
copy from content/public/common/service_worker_event_status.mojom
copy to components/dom_distiller/content/common/distiller_javascript_service.mojom
index 020d0e82e88cbb9dd52b2cf53651b629136a8910..a32551b9829dcc1a85ec32eb8510432d0c935bb5 100644
--- a/content/public/common/service_worker_event_status.mojom
+++ b/components/dom_distiller/content/common/distiller_javascript_service.mojom
@@ -2,11 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-module content;
+module dom_distiller;
-enum ServiceWorkerEventStatus {
- COMPLETED,
- REJECTED,
- ABORTED,
- MAX=ABORTED
+interface DistillerJavaScriptService {
nyquist 2015/08/19 10:59:54 It would be helpful with a short description sayin
mdjones 2015/08/19 20:25:19 Done.
+ HandleDistillerEchoCall(string message);
};

Powered by Google App Engine
This is Rietveld 408576698