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

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

Issue 1140713005: [PresentationAPI] Implements send API for Blob data from WebPresentationClient (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: reverted "using presentation::PresentationMessageType" Created 5 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 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 bc06725ceca237b3c4bf22c88fb3f3e3ad73a305..d033a482cb80d280926902f9261a8e850ebbc8f2 100644
--- a/content/common/presentation/presentation_service.mojom
+++ b/content/common/presentation/presentation_service.mojom
@@ -29,13 +29,16 @@ struct PresentationError {
enum PresentationMessageType {
TEXT,
ARRAY_BUFFER,
+ BLOB,
};
struct SessionMessage {
string presentation_url;
string presentation_id;
PresentationMessageType type;
+ // Used when message type is TEXT.
string? message;
+ // Used when message type is ARRAY_BUFFER or BLOB.
array<uint8>? data;
};

Powered by Google App Engine
This is Rietveld 408576698