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

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

Issue 2471883002: [Presentation API] (1st) (1-UA) Add is_offscreen_presentation attribute to MediaRouter (Closed)
Patch Set: 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);
mark a. foltz 2016/11/03 18:32:05 Thanks for doing this, it makes a lot more sense t
zhaobin 2016/11/03 23:00:46 Will do it in a seperate CL. Create https://bugs.c
void InvokeErrorCallback(const content::PresentationError& error);
// Handle route creation/joining response by invoking the right callback.

Powered by Google App Engine
This is Rietveld 408576698