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_; |