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

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

Issue 1259073004: [Presentation API] Change ListenForSessionMessages API to client-style. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: update comments Created 5 years, 4 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 a6e428181f1c113ae34b63840a2f436b4ce41104..3b076fdf6addb80bb93a9b9445fb815e26bf753c 100644
--- a/chrome/browser/media/router/create_presentation_session_request.h
+++ b/chrome/browser/media/router/create_presentation_session_request.h
@@ -53,7 +53,8 @@ class CreatePresentationSessionRequest {
// Invokes |success_cb_| or |error_cb_| with the given arguments.
// These functions can only be invoked once per instance. Further invocations
// are no-op.
- void MaybeInvokeSuccessCallback(const MediaRoute::Id& route_id);
+ void MaybeInvokeSuccessCallback(const std::string& presentation_id,
+ const MediaRoute::Id& route_id);
void MaybeInvokeErrorCallback(const content::PresentationError& error);
private:

Powered by Google App Engine
This is Rietveld 408576698