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

Unified Diff: components/proximity_auth/remote_device.h

Issue 1356943004: Add RemoteDeviceLoader to create RemoteDevice from CryptAuth data. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@webui
Patch Set: Created 5 years, 3 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/remote_device.h
diff --git a/components/proximity_auth/remote_device.h b/components/proximity_auth/remote_device.h
index 582f2f730f264ae24ecb936f2d737f1ba37138bc..96fa7b60d066499dc9ea7e5c97340145482ddd18 100644
--- a/components/proximity_auth/remote_device.h
+++ b/components/proximity_auth/remote_device.h
@@ -11,13 +11,16 @@ namespace proximity_auth {
struct RemoteDevice {
public:
+ std::string user_id;
std::string name;
std::string public_key;
std::string bluetooth_address;
std::string persistent_symmetric_key;
+ std::string sign_in_challenge;
sacomoto 2015/09/24 12:41:59 nit: You could already add the flag for BLE device
Tim Song 2015/09/26 02:08:14 Done.
RemoteDevice();
- RemoteDevice(const std::string& name,
+ RemoteDevice(const std::string& user_id,
+ const std::string& name,
const std::string& public_key,
const std::string& bluetooth_address,
const std::string& persistent_symmetric_key);

Powered by Google App Engine
This is Rietveld 408576698