Index: components/proximity_auth/device_to_device_secure_context.h |
diff --git a/components/proximity_auth/device_to_device_secure_context.h b/components/proximity_auth/device_to_device_secure_context.h |
index 500895dd11cbe2be12eca55b35ff1aae7a6727a0..196c786390ccb2ca01413166e069194771ac2dce 100644 |
--- a/components/proximity_auth/device_to_device_secure_context.h |
+++ b/components/proximity_auth/device_to_device_secure_context.h |
@@ -15,15 +15,17 @@ namespace securemessage { |
class Header; |
} |
-namespace proximity_auth { |
- |
+namespace cryptauth { |
class SecureMessageDelegate; |
+} |
+ |
+namespace proximity_auth { |
// SecureContext implementation for the DeviceToDevice protocol. |
class DeviceToDeviceSecureContext : public SecureContext { |
public: |
DeviceToDeviceSecureContext( |
- std::unique_ptr<SecureMessageDelegate> secure_message_delegate, |
+ std::unique_ptr<cryptauth::SecureMessageDelegate> secure_message_delegate, |
const std::string& symmetric_key, |
const std::string& responder_auth_message_, |
ProtocolVersion protocol_version); |
@@ -49,7 +51,7 @@ class DeviceToDeviceSecureContext : public SecureContext { |
const securemessage::Header& header); |
// Delegate for handling the creation and unwrapping of SecureMessages. |
- std::unique_ptr<SecureMessageDelegate> secure_message_delegate_; |
+ std::unique_ptr<cryptauth::SecureMessageDelegate> secure_message_delegate_; |
// The symmetric key used to create and unwrap messages. |
const std::string symmetric_key_; |