[Easy Unlock] Port the BluetoothThrottler class to native code.
BUG=424419
TEST=components_unittests
[email protected]
Review URL: https://codereview.chromium.org/663693002
Cr-Commit-Position: refs/heads/master@{#326706}
diff --git a/components/proximity_auth/client.cc b/components/proximity_auth/client.cc
index 016c505..a0b6a06 100644
--- a/components/proximity_auth/client.cc
+++ b/components/proximity_auth/client.cc
@@ -177,10 +177,10 @@
FOR_EACH_OBSERVER(ClientObserver, observers_, OnUnlockResponse(true));
}
-void Client::OnConnectionStatusChanged(const Connection& connection,
+void Client::OnConnectionStatusChanged(Connection* connection,
Connection::Status old_status,
Connection::Status new_status) {
- DCHECK_EQ(&connection, connection_.get());
+ DCHECK_EQ(connection, connection_.get());
if (new_status != Connection::CONNECTED) {
VLOG(1) << "[Client] Secure channel disconnected...";
connection_->RemoveObserver(this);