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

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

Issue 2488403002: [Media Router] Handle multiple Presentation URLs when creating routes. (Closed)
Patch Set: Created 4 years, 1 month 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/presentation_request.h
diff --git a/chrome/browser/media/router/presentation_request.h b/chrome/browser/media/router/presentation_request.h
index 56265c9acaea4b198c48950db0c63974e9370654..fbf13614cb01e4d2727d5233b8feed8504bc2120 100644
--- a/chrome/browser/media/router/presentation_request.h
+++ b/chrome/browser/media/router/presentation_request.h
@@ -32,8 +32,7 @@ class PresentationRequest {
const RenderFrameHostId& render_frame_host_id() const {
return render_frame_host_id_;
}
- // TODO(crbug.com/627655): Use multiple URLs.
- const GURL& presentation_url() const { return presentation_urls_[0]; }
+ const vector<GURL>& presentation_urls() const { return presentation_urls_; }
const GURL& frame_url() const { return frame_url_; }
private:
« no previous file with comments | « chrome/browser/media/router/media_source_helper.h ('k') | chrome/browser/media/router/presentation_request_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698