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

Unified Diff: device/bluetooth/adapter.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 | « content/shell/renderer/layout_test/blink_test_runner.cc ('k') | device/bluetooth/adapter_factory.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/bluetooth/adapter.cc
diff --git a/device/bluetooth/adapter.cc b/device/bluetooth/adapter.cc
index 62eb9a54b08f777951034e123ef7c9a7405921c5..8462fc8e0f4abe8a9700d361d20f60825ee3cc05 100644
--- a/device/bluetooth/adapter.cc
+++ b/device/bluetooth/adapter.cc
@@ -96,7 +96,8 @@ void Adapter::OnGattConnected(
const ConnectToDeviceCallback& callback,
std::unique_ptr<device::BluetoothGattConnection> connection) {
mojom::DevicePtr device_ptr;
- Device::Create(adapter_, std::move(connection), mojo::GetProxy(&device_ptr));
+ Device::Create(adapter_, std::move(connection),
+ mojo::MakeRequest(&device_ptr));
callback.Run(mojom::ConnectResult::SUCCESS, std::move(device_ptr));
}
« no previous file with comments | « content/shell/renderer/layout_test/blink_test_runner.cc ('k') | device/bluetooth/adapter_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698