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

Unified Diff: chrome/browser/media/android/router/media_router_dialog_controller_android.cc

Issue 1693963003: Pass origin to StartObservingMediaSinks. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Marks Review Fixes with URL changes Created 4 years, 10 months 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
« no previous file with comments | « no previous file | chrome/browser/media/router/media_router.mojom » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/media/android/router/media_router_dialog_controller_android.cc
diff --git a/chrome/browser/media/android/router/media_router_dialog_controller_android.cc b/chrome/browser/media/android/router/media_router_dialog_controller_android.cc
index bacba80841fd4a847291763cb300c44e421d8c03..05906e1f2aed371650a36d41d07d60f227c3b6a8 100644
--- a/chrome/browser/media/android/router/media_router_dialog_controller_android.cc
+++ b/chrome/browser/media/android/router/media_router_dialog_controller_android.cc
@@ -45,7 +45,7 @@ void MediaRouterDialogControllerAndroid::OnSinkSelected(
const PresentationRequest& presentation_request =
create_connection_request->presentation_request();
const MediaSource::Id source_id = presentation_request.GetMediaSource().id();
- const GURL origin = presentation_request.frame_url().GetOrigin();
+ const GURL origin = presentation_request.frame_url().origin();
std::vector<MediaRouteResponseCallback> route_response_callbacks;
route_response_callbacks.push_back(
« no previous file with comments | « no previous file | chrome/browser/media/router/media_router.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698