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

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

Issue 2355723004: [Presentation API] 1-UA: send message between controller and receiver page (Closed)
Patch Set: Merge with changes in Issue 2343013002 Created 4 years, 3 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
« no previous file with comments | « no previous file | chrome/browser/media/router/offscreen_presentation_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_;
« no previous file with comments | « no previous file | chrome/browser/media/router/offscreen_presentation_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698