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

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

Issue 1420533008: [Media Router] Set initial sink availability to available in MRMojoImpl. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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
« no previous file with comments | « chrome/browser/media/router/media_router_mojo_impl.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/media/router/media_router_mojo_impl_unittest.cc
diff --git a/chrome/browser/media/router/media_router_mojo_impl_unittest.cc b/chrome/browser/media/router/media_router_mojo_impl_unittest.cc
index cd282ab330c15b71c22b2b9cd1d2a206862f5bc0..be57f699ab446f680c95f10cd20575c0d7038426 100644
--- a/chrome/browser/media/router/media_router_mojo_impl_unittest.cc
+++ b/chrome/browser/media/router/media_router_mojo_impl_unittest.cc
@@ -333,6 +333,8 @@ TEST_F(MediaRouterMojoImplTest, HandleIssue) {
}
TEST_F(MediaRouterMojoImplTest, RegisterAndUnregisterMediaSinksObserver) {
+ router()->OnSinkAvailabilityUpdated(
+ interfaces::MediaRouter::SINK_AVAILABILITY_AVAILABLE);
MediaSource media_source(kSource);
MockMediaRouter mock_router;
« no previous file with comments | « chrome/browser/media/router/media_router_mojo_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698