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

Unified Diff: components/proximity_auth/client.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
« no previous file with comments | « components/proximity_auth/client.h ('k') | components/proximity_auth/connection.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/proximity_auth/client.cc
diff --git a/components/proximity_auth/client.cc b/components/proximity_auth/client.cc
index 016c50510e546bce1e515173ef4430e4433e53fb..a0b6a06545f081dfa652da82d11d06376e1d8100 100644
--- a/components/proximity_auth/client.cc
+++ b/components/proximity_auth/client.cc
@@ -177,10 +177,10 @@ void Client::HandleUnlockResponseMessage(const base::DictionaryValue& message) {
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);
« no previous file with comments | « components/proximity_auth/client.h ('k') | components/proximity_auth/connection.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698