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

Unified Diff: chrome/browser/media/router/mojo/media_router_mojo_impl_unittest.cc

Issue 2386633003: [Media Router] Convert MediaRouter to use GURL for presentation URLs. (Closed)
Patch Set: Respond to dcheng@ comment Created 4 years, 2 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/mojo/media_router_mojo_impl_unittest.cc
diff --git a/chrome/browser/media/router/mojo/media_router_mojo_impl_unittest.cc b/chrome/browser/media/router/mojo/media_router_mojo_impl_unittest.cc
index 9e89d4a625d4f3357d336d96ffbf8b575c7cffae..8ca316cfce96aeff0ab99ed560c520f2fc5f7236 100644
--- a/chrome/browser/media/router/mojo/media_router_mojo_impl_unittest.cc
+++ b/chrome/browser/media/router/mojo/media_router_mojo_impl_unittest.cc
@@ -1082,9 +1082,9 @@ TEST_F(MediaRouterMojoImplTest, RouteMessagesMultipleObservers) {
TEST_F(MediaRouterMojoImplTest, PresentationConnectionStateChangedCallback) {
MediaRoute::Id route_id("route-id");
- const std::string kPresentationUrl("http://foo.fakeUrl");
+ const GURL presentation_url("http://www.example.com/presentation.html");
const std::string kPresentationId("pid");
- content::PresentationSessionInfo connection(kPresentationUrl,
+ content::PresentationSessionInfo connection(presentation_url,
kPresentationId);
MockPresentationConnectionStateChangedCallback callback;
std::unique_ptr<PresentationConnectionStateSubscription> subscription =

Powered by Google App Engine
This is Rietveld 408576698