| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROME_BROWSER_MEDIA_ROUTER_PRESENTATION_REQUEST_H_ | 5 #ifndef CHROME_BROWSER_MEDIA_ROUTER_PRESENTATION_REQUEST_H_ |
| 6 #define CHROME_BROWSER_MEDIA_ROUTER_PRESENTATION_REQUEST_H_ | 6 #define CHROME_BROWSER_MEDIA_ROUTER_PRESENTATION_REQUEST_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 26 matching lines...) Expand all Loading... |
| 37 const GURL& frame_url() const { return frame_url_; } | 37 const GURL& frame_url() const { return frame_url_; } |
| 38 | 38 |
| 39 private: | 39 private: |
| 40 // ID of RenderFrameHost that initiated the request. | 40 // ID of RenderFrameHost that initiated the request. |
| 41 const RenderFrameHostId render_frame_host_id_; | 41 const RenderFrameHostId render_frame_host_id_; |
| 42 | 42 |
| 43 // URLs of presentation. | 43 // URLs of presentation. |
| 44 const std::vector<GURL> presentation_urls_; | 44 const std::vector<GURL> presentation_urls_; |
| 45 | 45 |
| 46 // URL of frame from which the request was initiated. | 46 // URL of frame from which the request was initiated. |
| 47 // TODO(crbug.com/632623): Convert this to url::Origin as only the origin or |
| 48 // hostname is used. |
| 47 const GURL frame_url_; | 49 const GURL frame_url_; |
| 48 }; | 50 }; |
| 49 | 51 |
| 50 } // namespace media_router | 52 } // namespace media_router |
| 51 | 53 |
| 52 #endif // CHROME_BROWSER_MEDIA_ROUTER_PRESENTATION_REQUEST_H_ | 54 #endif // CHROME_BROWSER_MEDIA_ROUTER_PRESENTATION_REQUEST_H_ |
| OLD | NEW |