Index: components/proximity_auth/device_to_device_responder_operations.h |
diff --git a/components/proximity_auth/device_to_device_responder_operations.h b/components/proximity_auth/device_to_device_responder_operations.h |
index 6a3f1c94f51abbd264f9ea34b4a877ae5b289f66..8858ac96cae22b4e7c0f42c2a43bb83349da9ea5 100644 |
--- a/components/proximity_auth/device_to_device_responder_operations.h |
+++ b/components/proximity_auth/device_to_device_responder_operations.h |
@@ -10,9 +10,11 @@ |
#include "base/callback_forward.h" |
#include "base/macros.h" |
-namespace proximity_auth { |
- |
+namespace cryptauth { |
class SecureMessageDelegate; |
+} |
+ |
+namespace proximity_auth { |
// Utility class containing operations in the DeviceToDevice protocol that the |
// initiator needs to perform. For Smart Lock, in which a phone unlocks a |
@@ -61,7 +63,7 @@ class DeviceToDeviceResponderOperations { |
static void ValidateHelloMessage( |
const std::string& hello_message, |
const std::string& persistent_symmetric_key, |
- SecureMessageDelegate* secure_message_delegate, |
+ cryptauth::SecureMessageDelegate* secure_message_delegate, |
const ValidateHelloCallback& callback); |
// Creates the [Responder Auth] message: |
@@ -85,7 +87,7 @@ class DeviceToDeviceResponderOperations { |
const std::string& session_private_key, |
const std::string& persistent_private_key, |
const std::string& persistent_symmetric_key, |
- SecureMessageDelegate* secure_message_delegate, |
+ cryptauth::SecureMessageDelegate* secure_message_delegate, |
const MessageCallback& callback); |
// Validates that the [Initiator Auth] message, received from the initiator, |
@@ -105,7 +107,7 @@ class DeviceToDeviceResponderOperations { |
const std::string& session_symmetric_key, |
const std::string& persistent_symmetric_key, |
const std::string& responder_auth_message, |
- SecureMessageDelegate* secure_message_delegate, |
+ cryptauth::SecureMessageDelegate* secure_message_delegate, |
const ValidationCallback& callback); |
private: |