Index: chrome/browser/media/router/offscreen_presentation_manager.h |
diff --git a/chrome/browser/media/router/offscreen_presentation_manager.h b/chrome/browser/media/router/offscreen_presentation_manager.h |
index cdb40b2491693805de9f45481c67dbeaa71b50c8..ceccefa6a410eab3cba5e30c5f2b48d8d77dac5e 100644 |
--- a/chrome/browser/media/router/offscreen_presentation_manager.h |
+++ b/chrome/browser/media/router/offscreen_presentation_manager.h |
@@ -89,6 +89,7 @@ class OffscreenPresentationManager : public KeyedService { |
// |controller| Not owned by this class. |
void RegisterOffscreenPresentationController( |
const std::string& presentation_id, |
+ const std::string& presentation_url, |
int render_frame_id, |
content::OffscreenPresentationClient* controller); |
@@ -128,7 +129,8 @@ class OffscreenPresentationManager : public KeyedService { |
// before corresponding receiver. |
class OffscreenPresentation { |
public: |
- explicit OffscreenPresentation(const std::string& presentation_id); |
+ explicit OffscreenPresentation(const std::string& presentation_id, |
+ const std::string& presentation_url); |
~OffscreenPresentation(); |
void RegisterController(int render_frame_id, |
@@ -143,12 +145,12 @@ class OffscreenPresentation { |
friend class OffscreenPresentationManagerTest; |
friend class OffscreenPresentationManager; |
- // URL for current presentation |
- const std::string presentation_url_; |
- |
// presentation_id for current presentation |
const std::string presentation_id_; |
+ // URL for current presentation |
+ const std::string presentation_url_; |
+ |
// proxy to receiver PSImpl |
content::ReceiverConnectionAvailableCallback receiver_callback_; |