| 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 e3056738e50eebe62b8b32d9a36e07344e6db9c2..1879ec1321576be25101856fd138f6f1ae1b4e59 100644
|
| --- a/chrome/browser/media/router/presentation_request.h
|
| +++ b/chrome/browser/media/router/presentation_request.h
|
| @@ -10,7 +10,7 @@
|
|
|
| #include "chrome/browser/media/router/media_source.h"
|
| #include "chrome/browser/media/router/render_frame_host_id.h"
|
| -#include "url/origin.h"
|
| +#include "url/gurl.h"
|
|
|
| namespace media_router {
|
|
|
| @@ -20,7 +20,7 @@
|
| public:
|
| PresentationRequest(const RenderFrameHostId& render_frame_host_id,
|
| const std::vector<GURL>& presentation_urls,
|
| - const url::Origin& frame_origin);
|
| + const GURL& frame_url);
|
| PresentationRequest(const PresentationRequest& other);
|
| ~PresentationRequest();
|
|
|
| @@ -35,7 +35,7 @@
|
| const std::vector<GURL>& presentation_urls() const {
|
| return presentation_urls_;
|
| }
|
| - const url::Origin& frame_origin() const { return frame_origin_; }
|
| + const GURL& frame_url() const { return frame_url_; }
|
|
|
| private:
|
| // ID of RenderFrameHost that initiated the request.
|
| @@ -44,8 +44,10 @@
|
| // URLs of presentation.
|
| const std::vector<GURL> presentation_urls_;
|
|
|
| - // Origin of frame from which the request was initiated.
|
| - const url::Origin frame_origin_;
|
| + // URL of frame from which the request was initiated.
|
| + // TODO(crbug.com/632623): Convert this to url::Origin as only the origin or
|
| + // hostname is used.
|
| + const GURL frame_url_;
|
| };
|
|
|
| } // namespace media_router
|
|
|