Index: components/proximity_auth/connection.h |
diff --git a/components/proximity_auth/connection.h b/components/proximity_auth/connection.h |
index 48d3b16cf6b32e2f51e0e4ebf1d4c8778593f6a7..cbaf3a51f5329b18c19fe619f3370f2e1dd7156a 100644 |
--- a/components/proximity_auth/connection.h |
+++ b/components/proximity_auth/connection.h |
@@ -54,14 +54,14 @@ class Connection { |
// Disconnects from the remote device. |
virtual void Disconnect() = 0; |
+ Status status() const { return status_; } |
+ |
protected: |
// Sets the connection's status to |status|. If this is different from the |
// previous status, notifies observers of the change in status. |
// Virtual for testing. |
virtual void SetStatus(Status status); |
- Status status() const { return status_; } |
- |
// Called after attempting to send bytes over the connection, whether the |
// message was successfully sent or not. |
// Virtual for testing. |