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

Unified Diff: chrome/browser/media/router/create_presentation_connection_request.h

Issue 2379703002: [Presentation API] (alternative) 1-UA: send message between controller and receiver page (Closed)
Patch Set: merge with master Created 4 years, 1 month 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/create_presentation_connection_request.h
diff --git a/chrome/browser/media/router/create_presentation_connection_request.h b/chrome/browser/media/router/create_presentation_connection_request.h
index ebf4b080990e26a9c3eb8f76f9da4d58c239296b..9dd9c037e198600e3c1df1a357ef043f47736e60 100644
--- a/chrome/browser/media/router/create_presentation_connection_request.h
+++ b/chrome/browser/media/router/create_presentation_connection_request.h
@@ -36,7 +36,7 @@ class CreatePresentationConnectionRequest {
public:
using PresentationSessionSuccessCallback =
base::Callback<void(const content::PresentationSessionInfo&,
- const MediaRoute::Id&)>;
+ const MediaRoute&)>;
using PresentationSessionErrorCallback =
content::PresentationSessionErrorCallback;
// |presentation_url|: The presentation URL of the request. Must be a valid
@@ -60,7 +60,7 @@ class CreatePresentationConnectionRequest {
// These functions can only be invoked once per instance. It is an error
// to invoke these functions more than once.
void InvokeSuccessCallback(const std::string& presentation_id,
- const MediaRoute::Id& route_id);
+ const MediaRoute& route);
void InvokeErrorCallback(const content::PresentationError& error);
// Handle route creation/joining response by invoking the right callback.
« no previous file with comments | « chrome/browser/media/router/BUILD.gn ('k') | chrome/browser/media/router/create_presentation_connection_request.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698