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

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

Issue 1376703002: Presentation API: reject screen availability observing on Android low ram devices. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix and add tests Created 5 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/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 e24e60dd86104a7f8dcb1a5522717518f24b0224..64be26637eb088ad38420f39fcc0138912b076f4 100644
--- a/chrome/browser/media/router/media_router_mojo_impl_unittest.cc
+++ b/chrome/browser/media/router/media_router_mojo_impl_unittest.cc
@@ -336,7 +336,7 @@ TEST_F(MediaRouterMojoImplTest, RegisterAndUnregisterMediaSinksObserver) {
MediaSinksObserver* captured_observer;
EXPECT_CALL(mock_router, RegisterMediaSinksObserver(_))
.Times(3)
- .WillRepeatedly(SaveArg<0>(&captured_observer));
+ .WillRepeatedly(DoAll(SaveArg<0>(&captured_observer), Return(true)));
MockMediaSinksObserver sinks_observer(&mock_router, media_source);
EXPECT_EQ(&sinks_observer, captured_observer);
« no previous file with comments | « chrome/browser/media/router/media_router_mojo_impl.cc ('k') | chrome/browser/media/router/media_sinks_observer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698