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

Unified Diff: components/proximity_auth/connection.h

Issue 1264703003: Implement debugging local unlock keys in chrome://proximity-auth. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase + fixes Created 5 years, 5 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/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.
« no previous file with comments | « components/proximity_auth/client_observer.h ('k') | components/proximity_auth/cryptauth/cryptauth_device_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698