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..ee397a5a3deac3476b2167647eff6ad1dc5557e6 100644 |
--- a/chrome/browser/media/router/create_presentation_session_request.h |
+++ b/chrome/browser/media/router/create_presentation_session_request.h |
@@ -29,7 +29,8 @@ class CreatePresentationSessionRequest { |
public: |
using PresentationSessionSuccessCallback = |
base::Callback<void(const content::PresentationSessionInfo&, |
- const MediaRoute::Id&)>; |
+ const MediaRoute::Id&, |
+ bool)>; |
using PresentationSessionErrorCallback = |
content::PresentationServiceDelegate::PresentationSessionErrorCallback; |
@@ -52,7 +53,8 @@ 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::Id& route_id, |
+ bool is_one_ua_presentation); |
mark a. foltz
2015/09/11 23:24:20
ISTM the "is_one_ua_presentation" is a flag that c
whywhat
2015/09/14 15:20:39
+1
miu
2015/09/17 00:09:20
+1 too, due to the fact that this bool argument is
imcheng
2015/09/26 01:21:57
Done.
imcheng
2015/09/26 01:21:57
Done.
imcheng
2015/09/26 01:21:57
Done.
|
void InvokeErrorCallback(const content::PresentationError& error); |
// Handle route creation/joining response by invoking the right callback. |
@@ -60,7 +62,8 @@ class CreatePresentationSessionRequest { |
scoped_ptr<CreatePresentationSessionRequest> presentation_request, |
const MediaRoute* route, |
const std::string& presentation_id, |
- const std::string& error); |
+ const std::string& error, |
+ bool is_one_ua_presentation); |
private: |
const MediaSource media_source_; |