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

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

Issue 2471883002: [Presentation API] (1st) (1-UA) Add is_offscreen_presentation attribute to MediaRouter (Closed)
Patch Set: resolve code review comments from Mark Created 4 years, 1 month 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 b6abe14f2937e0f0f0ebda4977ec19da568fc9ee..73b7b727461d830a6605c42609796f6d1cbd40b1 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
@@ -1084,8 +1084,8 @@ TEST_F(MediaRouterMojoImplTest, PresentationConnectionStateChangedCallback) {
MediaRoute::Id route_id("route-id");
const GURL presentation_url("http://www.example.com/presentation.html");
const std::string kPresentationId("pid");
- content::PresentationSessionInfo connection(presentation_url,
- kPresentationId);
+ content::PresentationSessionInfo connection(presentation_url, kPresentationId,
+ false);
MockPresentationConnectionStateChangedCallback callback;
std::unique_ptr<PresentationConnectionStateSubscription> subscription =
router()->AddPresentationConnectionStateChangedCallback(

Powered by Google App Engine
This is Rietveld 408576698