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

Unified Diff: chrome/browser/media/router/presentation_service_delegate_impl_unittest.cc

Issue 2264153002: [Presentation API] Add support for multiple URLs in PresentationRequest on Media Router UI side (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Modify MediaRouterDialogControllerAndroid, format Created 4 years, 3 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 | « chrome/browser/media/router/presentation_service_delegate_impl.cc ('k') | chrome/browser/ui/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/media/router/presentation_service_delegate_impl_unittest.cc
diff --git a/chrome/browser/media/router/presentation_service_delegate_impl_unittest.cc b/chrome/browser/media/router/presentation_service_delegate_impl_unittest.cc
index 5e46bd0be37da060ebc6bc01aedfa5c40fee96ae..008f551a97e0936f24f00d956adc95cc62174d8b 100644
--- a/chrome/browser/media/router/presentation_service_delegate_impl_unittest.cc
+++ b/chrome/browser/media/router/presentation_service_delegate_impl_unittest.cc
@@ -107,7 +107,7 @@ class PresentationServiceDelegateImplTest
// Should not trigger callback since request doesn't match.
PresentationRequest different_request(RenderFrameHostId(100, 200),
- kPresentationUrl2, GURL(kFrameUrl));
+ {kPresentationUrl2}, GURL(kFrameUrl));
MediaRoute* media_route = new MediaRoute(
"differentRouteId", MediaSourceForPresentationUrl(kPresentationUrl2),
"mediaSinkId", "", true, "", true);
@@ -329,7 +329,7 @@ TEST_F(PresentationServiceDelegateImplTest,
int routing_id = main_frame->GetRoutingID();
PresentationRequest observed_request1(
- RenderFrameHostId(render_process_id, routing_id), kPresentationUrl1,
+ RenderFrameHostId(render_process_id, routing_id), {kPresentationUrl1},
frame_url);
EXPECT_CALL(observer, OnDefaultPresentationChanged(Equals(observed_request1)))
.Times(1);
@@ -345,7 +345,7 @@ TEST_F(PresentationServiceDelegateImplTest,
EXPECT_TRUE(Mock::VerifyAndClearExpectations(&observer));
PresentationRequest observed_request2(
- RenderFrameHostId(render_process_id, routing_id), kPresentationUrl2,
+ RenderFrameHostId(render_process_id, routing_id), {kPresentationUrl2},
frame_url);
EXPECT_CALL(observer, OnDefaultPresentationChanged(Equals(observed_request2)))
.Times(1);
« no previous file with comments | « chrome/browser/media/router/presentation_service_delegate_impl.cc ('k') | chrome/browser/ui/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698