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

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

Issue 2678123003: Revert of Convert MediaRouter mojom apis to intake url::Origin objects instead of strings (Closed)
Patch Set: Created 3 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
Index: chrome/browser/media/router/presentation_media_sinks_observer_unittest.cc
diff --git a/chrome/browser/media/router/presentation_media_sinks_observer_unittest.cc b/chrome/browser/media/router/presentation_media_sinks_observer_unittest.cc
index 7e9cc6b4571638a6694d7394c672c6250fbc4aba..96166a8b2b1eccc5ac18fc138fbc44b170321803 100644
--- a/chrome/browser/media/router/presentation_media_sinks_observer_unittest.cc
+++ b/chrome/browser/media/router/presentation_media_sinks_observer_unittest.cc
@@ -20,10 +20,6 @@
namespace media_router {
-namespace {
-constexpr char kOrigin[] = "https://google.com";
-} // namespace
-
class PresentationMediaSinksObserverTest : public ::testing::Test {
public:
PresentationMediaSinksObserverTest()
@@ -35,7 +31,7 @@
observer_.reset(new PresentationMediaSinksObserver(
&router_, &listener_, MediaSourceForPresentationUrl(
GURL("http://example.com/presentation.html")),
- url::Origin(GURL(kOrigin))));
+ GURL("https://google.com")));
EXPECT_TRUE(observer_->Init());
}
« no previous file with comments | « chrome/browser/media/router/presentation_media_sinks_observer.cc ('k') | chrome/browser/media/router/presentation_request.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698