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

Unified Diff: content/common/presentation/presentation_service.mojom

Issue 1037483003: [PresentationAPI] Implementing send() from WebPresentationClient to the PresentationService. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: callback handling for send requests, other fixes. Created 5 years, 8 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: content/common/presentation/presentation_service.mojom
diff --git a/content/common/presentation/presentation_service.mojom b/content/common/presentation/presentation_service.mojom
index 36756e23a080698ec63f93627b099bba23d9750e..4b2810e24be8cea12031cd0b0b1ed66282432146 100644
--- a/content/common/presentation/presentation_service.mojom
+++ b/content/common/presentation/presentation_service.mojom
@@ -74,6 +74,13 @@ interface PresentationService {
JoinSession(string presentation_url, string? presentation_id)
=> (PresentationSessionInfo? sessionInfo, PresentationError? error);
+ // Called when send(String) is called by the frame. The result callback is to get
mark a. foltz 2015/04/10 19:03:18 Please wrap at 80 columns.
USE s.singapati at gmail.com 2015/04/14 17:51:51 Done.
+ // notified that message has been received and ready for the next one.
+ SendStringMessage(
+ string presentation_url,
+ string presentation_id,
+ string message) => ();
+
// Called when closeSession() is called by the frame.
CloseSession(string presentation_url, string presentation_id);

Powered by Google App Engine
This is Rietveld 408576698