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

Unified Diff: components/proximity_auth/bluetooth_connection_finder.cc

Issue 663693002: [Easy Unlock] Port the BluetoothThrottler class to native code. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix Windows compilation error, take 2 Created 5 years, 8 months 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: components/proximity_auth/bluetooth_connection_finder.cc
diff --git a/components/proximity_auth/bluetooth_connection_finder.cc b/components/proximity_auth/bluetooth_connection_finder.cc
index 3fe6567c174a0e76dc338ba8c5da75c20d4e7808..1f26d2ffc77b92868b5a19416d1e5a13b9beee8b 100644
--- a/components/proximity_auth/bluetooth_connection_finder.cc
+++ b/components/proximity_auth/bluetooth_connection_finder.cc
@@ -119,10 +119,10 @@ void BluetoothConnectionFinder::AdapterPoweredChanged(BluetoothAdapter* adapter,
}
void BluetoothConnectionFinder::OnConnectionStatusChanged(
- const Connection& connection,
+ Connection* connection,
Connection::Status old_status,
Connection::Status new_status) {
- DCHECK_EQ(&connection, connection_.get());
+ DCHECK_EQ(connection, connection_.get());
if (connection_->IsConnected()) {
base::TimeDelta elapsed = base::TimeTicks::Now() - start_time_;
« no previous file with comments | « components/proximity_auth/bluetooth_connection_finder.h ('k') | components/proximity_auth/bluetooth_throttler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698