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

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

Issue 2547703002: [Media Router] Handle multiple Presentation URLs when creating routes (Closed)
Patch Set: fix unittests Created 4 years 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..1879ec1321576be25101856fd138f6f1ae1b4e59 100644
--- a/chrome/browser/media/router/presentation_request.h
+++ b/chrome/browser/media/router/presentation_request.h
@@ -32,8 +32,9 @@ 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 std::vector<GURL>& presentation_urls() const {
+ return presentation_urls_;
+ }
const GURL& frame_url() const { return frame_url_; }
private:

Powered by Google App Engine
This is Rietveld 408576698