Commit a46f5545 authored by James Hawkins's avatar James Hawkins Committed by Commit Bot

extensions/EasyUnlockPrivateApi: Remove unused BT address param.

R=hansberry@chromium.org, tbarzic@chromium.org

Bug: none
Test: none
Change-Id: I95ff12bf273e961ee5451d0be1d6a3ec1c2034ea
Reviewed-on: https://chromium-review.googlesource.com/1013050
Commit-Queue: James Hawkins <jhawkins@chromium.org>
Reviewed-by: default avatarToni Barzic <tbarzic@chromium.org>
Reviewed-by: default avatarRyan Hansberry <hansberry@chromium.org>
Cr-Commit-Position: refs/heads/master@{#551068}
parent 3c45fbf8
......@@ -383,10 +383,9 @@ void EasyUnlockPrivateFindSetupConnectionFunction::OnConnectionFound(
int connection_id =
GetConnectionManager(browser_context())
->AddConnection(extension(), std::move(connection), persistent);
// TODO(jhawkins): Remove the deviceAddress parameter from the API.
Respond(
ArgumentList(easy_unlock_private::FindSetupConnection::Results::Create(
connection_id, /* device_address */ std::string())));
connection_id)));
}
ExtensionFunction::ResponseAction
......
......@@ -30,9 +30,7 @@ namespace easyUnlockPrivate {
// Callback for the |FindSetupConnectionCallback| method.
// |connectionId|: The identifier of the connection found. To be used in
// future calls refering to this connection.
// |deviceAddress|: The Bluetooth address of the remote device.
callback FindSetupConnectionCallback = void(long connectionId,
DOMString deviceAddress);
callback FindSetupConnectionCallback = void(long connectionId);
interface Functions {
// Gets localized strings required to render the API.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment