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

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

Issue 2589663003: mojo:: Rename mojo::GetProxy() to mojo::MakeRequest() (Closed)
Patch Set: Rebase Created 4 years 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 d0b302ae9d864d9382adb2c565d1a467e3a560df..4837c6a115a9ad5dfcde38f3b3262beb8d6229b3 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
@@ -1227,14 +1227,14 @@ class MediaRouterMojoExtensionTest : public ::testing::Test {
void BindMediaRouteProvider() {
binding_.reset(new mojo::Binding<mojom::MediaRouteProvider>(
&mock_media_route_provider_,
- mojo::GetProxy(&media_route_provider_proxy_)));
- media_router_->BindToMojoRequest(mojo::GetProxy(&media_router_proxy_),
+ mojo::MakeRequest(&media_route_provider_proxy_)));
+ media_router_->BindToMojoRequest(mojo::MakeRequest(&media_router_proxy_),
*extension_);
}
void ResetMediaRouteProvider() {
binding_.reset();
- media_router_->BindToMojoRequest(mojo::GetProxy(&media_router_proxy_),
+ media_router_->BindToMojoRequest(mojo::MakeRequest(&media_router_proxy_),
*extension_);
}
« no previous file with comments | « chrome/browser/media/cast_remoting_sender_unittest.cc ('k') | chrome/browser/media/router/mojo/media_router_mojo_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698