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

Unified Diff: chrome/browser/media/router/presentation_request_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: Address Mark's comments 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
Index: chrome/browser/media/router/presentation_request_unittest.cc
diff --git a/chrome/browser/media/router/presentation_request_unittest.cc b/chrome/browser/media/router/presentation_request_unittest.cc
index 7d21a5e4177a382749a1203c98992e2b5f4cd03a..e04afdcecf0e1a5b83d9b13531654075296a7e23 100644
--- a/chrome/browser/media/router/presentation_request_unittest.cc
+++ b/chrome/browser/media/router/presentation_request_unittest.cc
@@ -9,29 +9,29 @@ namespace media_router {
TEST(PresentationRequestTest, Equals) {
PresentationRequest request1(RenderFrameHostId(1, 2),
- "http://presentationUrl",
+ {"http://presentationUrl"},
GURL("http://frameUrl"));
// Frame IDs are different.
PresentationRequest request2(RenderFrameHostId(3, 4),
- "http://presentationUrl",
+ {"http://presentationUrl"},
GURL("http://frameUrl"));
EXPECT_FALSE(request1.Equals(request2));
// Presentation URLs are different.
PresentationRequest request3(RenderFrameHostId(1, 2),
- "http://anotherPresentationUrl",
+ {"http://anotherPresentationUrl"},
GURL("http://frameUrl"));
EXPECT_FALSE(request1.Equals(request3));
// Frame URLs are different.
PresentationRequest request4(RenderFrameHostId(1, 2),
- "http://presentationUrl",
+ {"http://presentationUrl"},
GURL("http://anotherFrameUrl"));
EXPECT_FALSE(request1.Equals(request4));
PresentationRequest request5(RenderFrameHostId(1, 2),
- "http://presentationUrl",
+ {"http://presentationUrl"},
GURL("http://frameUrl"));
EXPECT_TRUE(request1.Equals(request5));
}

Powered by Google App Engine
This is Rietveld 408576698