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

Side by Side Diff: chrome/browser/media/router/presentation_request.h

Issue 2433283005: [Media Router] Use origin instead of URL for frame. (Closed)
Patch Set: Remove DCHECK in media_router_ui.cc 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 unified diff | Download patch
« no previous file with comments | « no previous file | chrome/browser/media/router/presentation_service_delegate_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/media/router/presentation_service_delegate_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698