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

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

Issue 1132903002: [MediaRouter] Add implementation of PresentationServiceDelegate (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 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/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 a46294f870f5ce46391b034cc181572bfc9eb42f..933827ec0b99c37e6f0345961db8dc8f364e0385 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 "chrome/browser/media/router/presentation_helper.h"
namespace media_router {
@@ -35,6 +36,11 @@ bool IsMirroringMediaSource(const MediaSource& source);
// Does not deeper protocol-level syntax checks.
bool IsValidMediaSource(const MediaSource& source);
+// Extracts the presentation URL from |source|.
+// |source| must be based on a presentation URL, e.g. created from
+// ForPresentationUrl, and must be valid.
Wez 2015/05/27 22:37:49 So what does this return if it's _not_ from a vali
haibinlu 2015/05/28 21:44:02 Updated the comment.
+std::string GetPresentationUrl(const MediaSource& source);
+
} // namespace media_router
#endif // CHROME_BROWSER_MEDIA_ROUTER_MEDIA_SOURCE_HELPER_H_

Powered by Google App Engine
This is Rietveld 408576698