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

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

Issue 1314413005: [Presentation API] 1-UA presentation support + presenter APIs. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase again to pick up Yuri's cl Created 5 years, 2 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/create_presentation_session_request.h
diff --git a/chrome/browser/media/router/create_presentation_session_request.h b/chrome/browser/media/router/create_presentation_session_request.h
index 9cebcb9aabc8a8d0644db629eea410567e462026..12e54e66fd9321f58b68c763b63fded4580ecaee 100644
--- a/chrome/browser/media/router/create_presentation_session_request.h
+++ b/chrome/browser/media/router/create_presentation_session_request.h
@@ -29,7 +29,7 @@ class CreatePresentationSessionRequest {
public:
using PresentationSessionSuccessCallback =
base::Callback<void(const content::PresentationSessionInfo&,
- const MediaRoute::Id&)>;
+ const MediaRoute&)>;
using PresentationSessionErrorCallback =
content::PresentationServiceDelegate::PresentationSessionErrorCallback;
@@ -52,7 +52,7 @@ class CreatePresentationSessionRequest {
// 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.

Powered by Google App Engine
This is Rietveld 408576698