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

Unified Diff: chrome/browser/media/router/mojo/media_router.mojom

Issue 2678123003: Revert of Convert MediaRouter mojom apis to intake url::Origin objects instead of strings (Closed)
Patch Set: Created 3 years, 10 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: chrome/browser/media/router/mojo/media_router.mojom
diff --git a/chrome/browser/media/router/mojo/media_router.mojom b/chrome/browser/media/router/mojo/media_router.mojom
index 37fc064748de40d2a68f17ebec05798d2c3a4871..e26170d891ef309a70ee3b90f3a0097639aae6cb 100644
--- a/chrome/browser/media/router/mojo/media_router.mojom
+++ b/chrome/browser/media/router/mojo/media_router.mojom
@@ -5,7 +5,6 @@
module media_router.mojom;
import "mojo/common/time.mojom";
-import "url/mojo/origin.mojom";
// Represents an output sink to which media can be routed.
struct MediaSink {
@@ -171,7 +170,7 @@
CreateRoute(string media_source,
string sink_id,
string original_presentation_id,
- url.mojom.Origin origin,
+ string origin,
int32 tab_id,
mojo.common.mojom.TimeDelta timeout,
bool incognito) =>
@@ -199,7 +198,7 @@
// occurred.
JoinRoute(string media_source,
string presentation_id,
- url.mojom.Origin origin,
+ string origin,
int32 tab_id,
mojo.common.mojom.TimeDelta timeout,
bool incognito) =>
@@ -233,7 +232,7 @@
ConnectRouteByRouteId(string media_source,
string route_id,
string presentation_id,
- url.mojom.Origin origin,
+ string origin,
int32 tab_id,
mojo.common.mojom.TimeDelta timeout,
bool incognito) =>
@@ -364,7 +363,7 @@
// compatible with |media_source|. The result is only valid for |origins|. If
// |origins| is empty, the result is valid for any origin.
OnSinksReceived(string media_source, array<MediaSink> sinks,
- array<url.mojom.Origin> origins);
+ array<string> origins);
// Called when issues are reported for media routes.
OnIssue(Issue issue);
« no previous file with comments | « chrome/browser/media/router/mock_media_router.h ('k') | chrome/browser/media/router/mojo/media_router_mojo_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698