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

Unified Diff: components/proximity_auth/device_to_device_responder_operations.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_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:

Powered by Google App Engine
This is Rietveld 408576698