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

Unified Diff: chrome/browser/media/router/create_presentation_connection_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 Created 4 years, 6 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_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 0a41890490c52f5a2085ed13e5deea9db43db9fd..1b323c51a22aa10ab32eaa2a3eca09acd934e20f 100644
--- a/chrome/browser/media/router/create_presentation_connection_request.h
+++ b/chrome/browser/media/router/create_presentation_connection_request.h
@@ -34,7 +34,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
@@ -58,7 +58,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.

Powered by Google App Engine
This is Rietveld 408576698