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

Unified Diff: components/proximity_auth/connection_observer.h

Issue 651073002: Revert of [Easy Unlock] Port the BluetoothConnectionFinder class to native code. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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/connection_finder.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/proximity_auth/connection_observer.h
diff --git a/components/proximity_auth/connection_observer.h b/components/proximity_auth/connection_observer.h
index 89bf9741c7056e62f0a0ff9f9ab42d70b8a85b11..53578901a29279ca8795db00e88552fb21cf547a 100644
--- a/components/proximity_auth/connection_observer.h
+++ b/components/proximity_auth/connection_observer.h
@@ -18,18 +18,18 @@
// |new_status|.
virtual void OnConnectionStatusChanged(const Connection& connection,
Connection::Status old_status,
- Connection::Status new_status) {}
+ Connection::Status new_status) = 0;
// Called when a |message| is received from a remote device over the
// |connection|.
virtual void OnMessageReceived(const Connection& connection,
- const WireMessage& message) {}
+ const WireMessage& message) = 0;
// Called after a |message| is sent to the remote device over the
// |connection|. |success| is |true| iff the message is sent successfully.
virtual void OnSendCompleted(const Connection& connection,
const WireMessage& message,
- bool success) {}
+ bool success) = 0;
};
} // namespace proximity_auth
« no previous file with comments | « components/proximity_auth/connection_finder.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698