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

Unified Diff: components/proximity_auth/messenger.h

Issue 2845433003: [EasyUnlock] Update ProximityMonitor to only check for RSSI proximity. (Closed)
Patch Set: fixes Created 3 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/messenger.h
diff --git a/components/proximity_auth/messenger.h b/components/proximity_auth/messenger.h
index d88f7d887fb9b458d27eb409b08e885879977365..7267982632973486b8e2283070cedaca3ac23909 100644
--- a/components/proximity_auth/messenger.h
+++ b/components/proximity_auth/messenger.h
@@ -42,6 +42,11 @@ class Messenger {
// Returns the SecureContext instance used by the messenger. Ownership of the
// SecureContext is not passed.
virtual cryptauth::SecureContext* GetSecureContext() const = 0;
+
+ // Returns the underlying raw connection. Note that you should use
+ // |GetSecureContext()| instead if you want to send and receive messages
+ // securely.
+ virtual cryptauth::Connection* GetConnection() const = 0;
};
} // namespace proximity_auth
« no previous file with comments | « components/proximity_auth/fake_remote_device_life_cycle.cc ('k') | components/proximity_auth/messenger_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698