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

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

Powered by Google App Engine
This is Rietveld 408576698