Index: components/proximity_auth/device_to_device_initiator_operations.h |
diff --git a/components/proximity_auth/device_to_device_initiator_operations.h b/components/proximity_auth/device_to_device_initiator_operations.h |
index bce148d4423fabcda918ccd1a4cd344ea49581f3..463e6eed060476673f2581f0a8d84b53c16d0438 100644 |
--- a/components/proximity_auth/device_to_device_initiator_operations.h |
+++ b/components/proximity_auth/device_to_device_initiator_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 |
@@ -55,10 +57,11 @@ class DeviceToDeviceInitiatorOperations { |
// instance is not owned, and must live until after |callback| is invoked. |
// |callback|: Invoked upon operation completion with the serialized message |
// or an empty string. |
- static void CreateHelloMessage(const std::string& session_public_key, |
- const std::string& persistent_symmetric_key, |
- SecureMessageDelegate* secure_message_delegate, |
- const MessageCallback& callback); |
+ static void CreateHelloMessage( |
+ const std::string& session_public_key, |
+ const std::string& persistent_symmetric_key, |
+ cryptauth::SecureMessageDelegate* secure_message_delegate, |
+ const MessageCallback& callback); |
// Validates that the [Responder Auth] message, received from the responder, |
// is properly signed and encrypted. |
@@ -83,7 +86,7 @@ class DeviceToDeviceInitiatorOperations { |
const std::string& persistent_symmetric_key, |
const std::string& session_private_key, |
const std::string& hello_message, |
- SecureMessageDelegate* secure_message_delegate, |
+ cryptauth::SecureMessageDelegate* secure_message_delegate, |
const ValidateResponderAuthCallback& callback); |
// Creates the [Initiator Auth] message, which allows the responder to |
@@ -100,7 +103,7 @@ class DeviceToDeviceInitiatorOperations { |
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 MessageCallback& callback); |
private: |