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 a8580285a38bcbd200c323f13226668aedf8fbb4..9a3009a52b26163aa0678b0856b48ea27c2b5a71 100644 |
--- a/chrome/browser/media/router/presentation_request.h |
+++ b/chrome/browser/media/router/presentation_request.h |
@@ -19,7 +19,7 @@ namespace media_router { |
class PresentationRequest { |
public: |
PresentationRequest(const RenderFrameHostId& render_frame_host_id, |
- const std::vector<std::string>& presentation_urls, |
+ const std::vector<GURL>& presentation_urls, |
const GURL& frame_url); |
PresentationRequest(const PresentationRequest& other); |
~PresentationRequest(); |
@@ -33,7 +33,7 @@ class PresentationRequest { |
return render_frame_host_id_; |
} |
// TODO(crbug.com/627655): Use multiple URLs. |
- const std::string& presentation_url() const { return presentation_urls_[0]; } |
+ const GURL& presentation_url() const { return presentation_urls_[0]; } |
const GURL& frame_url() const { return frame_url_; } |
private: |
@@ -41,7 +41,7 @@ class PresentationRequest { |
const RenderFrameHostId render_frame_host_id_; |
// URLs of presentation. |
- const std::vector<std::string> presentation_urls_; |
+ const std::vector<GURL> presentation_urls_; |
// URL of frame from which the request was initiated. |
const GURL frame_url_; |