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

Unified Diff: components/proximity_auth/device_to_device_authenticator.h

Issue 2502343003: Moved //components/proximity_auth/cryptauth to //components/cryptauth. (Closed)
Patch Set: Fixed proto #includes. Created 4 years, 1 month 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/device_to_device_authenticator.h
diff --git a/components/proximity_auth/device_to_device_authenticator.h b/components/proximity_auth/device_to_device_authenticator.h
index 1f89779ec533fc8ef3eaac0fe55c40abafa4b51d..2b2ad64268806bcab5771a4d3a1c49f162fd1bcd 100644
--- a/components/proximity_auth/device_to_device_authenticator.h
+++ b/components/proximity_auth/device_to_device_authenticator.h
@@ -15,10 +15,13 @@ namespace base {
class Timer;
};
+namespace cryptauth {
+class SecureMessageDelegate;
+}
+
namespace proximity_auth {
class Connection;
-class SecureMessageDelegate;
// Authenticator implementation using the "device to device" protocol, which is
// in turn built on top of the SecureMessage library.
@@ -47,10 +50,10 @@ class DeviceToDeviceAuthenticator : public Authenticator,
// |account_id|: The canonical account id of the user who is the owner of both
// the local and remote devices.
// |secure_message_delegate|: Handles the SecureMessage crypto operations.
- DeviceToDeviceAuthenticator(
- Connection* connection,
- const std::string& account_id,
- std::unique_ptr<SecureMessageDelegate> secure_message_delegate);
+ DeviceToDeviceAuthenticator(Connection* connection,
+ const std::string& account_id,
+ std::unique_ptr<cryptauth::SecureMessageDelegate>
+ secure_message_delegate);
~DeviceToDeviceAuthenticator() override;
@@ -124,7 +127,7 @@ class DeviceToDeviceAuthenticator : public Authenticator,
const std::string account_id_;
// Handles SecureMessage crypto operations.
- std::unique_ptr<SecureMessageDelegate> secure_message_delegate_;
+ std::unique_ptr<cryptauth::SecureMessageDelegate> secure_message_delegate_;
// The current state in the authentication flow.
State state_;

Powered by Google App Engine
This is Rietveld 408576698