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

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

Issue 979413002: [Presentation API] Additional plumbing for PresentationServiceImpl. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@REAL-NEW-MASTER
Patch Set: rm presentation_session.mojom Created 5 years, 9 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
« no previous file with comments | « content/common/BUILD.gn ('k') | content/common/presentation/presentation_session.mojom » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/presentation/presentation_service.mojom
diff --git a/content/common/presentation/presentation_service.mojom b/content/common/presentation/presentation_service.mojom
index e672ad14ad6b5e821b27d9aec5e18b066538ced8..1059c45f7ee63f2f00c1f80dc1bbb04977b78658 100644
--- a/content/common/presentation/presentation_service.mojom
+++ b/content/common/presentation/presentation_service.mojom
@@ -4,10 +4,7 @@
module presentation;
-import "presentation_session.mojom";
-
struct PresentationSessionInfo {
- PresentationSession session;
string url;
string id;
};
@@ -20,7 +17,7 @@ enum PresentationErrorType {
};
struct PresentationError {
- PresentationErrorType errorType;
+ PresentationErrorType error_type;
string message;
};
@@ -39,7 +36,8 @@ interface PresentationService {
// stop discovery once there are no active calls to GetScreenAvailability.
// |presentation_url| can be specified to help the implementation to filter
// out incompatible screens.
- GetScreenAvailability(string? presentation_url) => (bool available);
+ GetScreenAvailability(string? presentation_url) =>
+ (string? presentation_url, bool available);
// Called when the frame no longer listens to the
// |availablechange| event.
@@ -71,4 +69,4 @@ interface PresentationService {
// silently and without user action.
JoinSession(string presentation_url, string? presentation_id)
=> (PresentationSessionInfo? sessionInfo, PresentationError? error);
-};
+};
« no previous file with comments | « content/common/BUILD.gn ('k') | content/common/presentation/presentation_session.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698