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

Unified Diff: content/browser/presentation/presentation_type_converters_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: content/browser/presentation/presentation_type_converters_unittest.cc
diff --git a/content/browser/presentation/presentation_type_converters_unittest.cc b/content/browser/presentation/presentation_type_converters_unittest.cc
index fde2823181ee87b64d6c26a57527c5f9fd58c51e..e3f462363f94ed7bf3bd944943bf6209d6fed8cd 100644
--- a/content/browser/presentation/presentation_type_converters_unittest.cc
+++ b/content/browser/presentation/presentation_type_converters_unittest.cc
@@ -10,9 +10,9 @@
namespace content {
TEST(PresentationTypeConvertersTest, PresentationSessionInfo) {
- GURL presentation_url("http://fooUrl");
+ GURL presentation_url("http://www.example.com/");
std::string presentation_id("presentationId");
- PresentationSessionInfo session(presentation_url.spec(), presentation_id);
+ PresentationSessionInfo session(presentation_url, presentation_id);
blink::mojom::PresentationSessionInfoPtr session_mojo(
blink::mojom::PresentationSessionInfo::From(session));
EXPECT_FALSE(session_mojo.is_null());

Powered by Google App Engine
This is Rietveld 408576698