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

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: Updated unit tests Created 5 years, 7 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..1f50d6e9f38eac37b97e68646e8297f73dd2efb2 100644
--- a/content/common/presentation/presentation_service.mojom
+++ b/content/common/presentation/presentation_service.mojom
@@ -29,6 +29,7 @@ struct PresentationError {
enum PresentationMessageType {
TEXT,
ARRAY_BUFFER,
+ BLOB,
};
struct SessionMessage {
@@ -36,6 +37,7 @@ struct SessionMessage {
string presentation_id;
PresentationMessageType type;
string? message;
+ // Used for both ArrayBuffer and Blob data.
mark a. foltz 2015/06/02 23:51:02 nit: ARRAY_BUFFER and BLOB
USE s.singapati at gmail.com 2015/06/03 15:03:50 Done.
array<uint8>? data;
};

Powered by Google App Engine
This is Rietveld 408576698