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

Unified Diff: services/navigation/public/cpp/view.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
« no previous file with comments | « services/navigation/navigation_unittest.cc ('k') | services/navigation/view_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/navigation/public/cpp/view.cc
diff --git a/services/navigation/public/cpp/view.cc b/services/navigation/public/cpp/view.cc
index fc4055e9f3c94c3b2a11a91aa48da8757b77bf80..649f34f2e5499869afa9e063679435575b3f6884 100644
--- a/services/navigation/public/cpp/view.cc
+++ b/services/navigation/public/cpp/view.cc
@@ -24,8 +24,8 @@ void EmbedCallback(bool result) {}
View::View(mojom::ViewFactoryPtr factory) : binding_(this) {
mojom::ViewClientPtr client;
- binding_.Bind(GetProxy(&client));
- factory->CreateView(std::move(client), GetProxy(&view_));
+ binding_.Bind(MakeRequest(&client));
+ factory->CreateView(std::move(client), MakeRequest(&view_));
}
View::View(mojom::ViewPtr view, mojom::ViewClientRequest request)
@@ -95,7 +95,7 @@ void View::HideInterstitial() {
void View::EmbedInWindow(aura::Window* parent) {
ui::mojom::WindowTreeClientPtr client;
- view_->GetWindowTreeClient(GetProxy(&client));
+ view_->GetWindowTreeClient(MakeRequest(&client));
const uint32_t embed_flags = 0u; // Nothing special.
aura::WindowPortMus::Get(parent)->Embed(std::move(client), embed_flags,
base::Bind(&EmbedCallback));
« no previous file with comments | « services/navigation/navigation_unittest.cc ('k') | services/navigation/view_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698