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

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

Issue 1693963003: Pass origin to StartObservingMediaSinks. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Marks Review Fixes with URL changes Created 4 years, 10 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 | « chrome/browser/media/router/media_source.cc ('k') | chrome/browser/media/router/media_source_helper.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/media/router/media_source_helper.h
diff --git a/chrome/browser/media/router/media_source_helper.h b/chrome/browser/media/router/media_source_helper.h
index 0e2822a99025ea979ed7e9520a0385cce6e02f8e..b8f1a024faf4a70707feda1834410463a8045357 100644
--- a/chrome/browser/media/router/media_source_helper.h
+++ b/chrome/browser/media/router/media_source_helper.h
@@ -8,6 +8,7 @@
#include <string>
#include "chrome/browser/media/router/media_source.h"
+#include "url/gurl.h"
namespace media_router {
@@ -16,7 +17,10 @@ namespace media_router {
MediaSource MediaSourceForTab(int tab_id);
MediaSource MediaSourceForDesktop();
MediaSource MediaSourceForCastApp(const std::string& app_id);
-MediaSource MediaSourceForPresentationUrl(const std::string& presentation_url);
+MediaSource MediaSourceForPresentationUrl(const std::string& presentation_url,
+ const std::string& origin);
+
+GURL OriginForDesktop();
// Returns true if |source| outputs its content via mirroring.
bool IsDesktopMirroringMediaSource(const MediaSource& source);
« no previous file with comments | « chrome/browser/media/router/media_source.cc ('k') | chrome/browser/media/router/media_source_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698