Index: components/proximity_auth/webui/reachable_phone_flow.h |
diff --git a/components/proximity_auth/webui/reachable_phone_flow.h b/components/proximity_auth/webui/reachable_phone_flow.h |
index e5df1e617266f504a482a75505e0c96a1f681b72..25c784429cde63aaaac118e971c12b8ecfd0d6a0 100644 |
--- a/components/proximity_auth/webui/reachable_phone_flow.h |
+++ b/components/proximity_auth/webui/reachable_phone_flow.h |
@@ -14,6 +14,8 @@ |
#include "base/memory/weak_ptr.h" |
namespace cryptauth { |
+class CryptAuthClient; |
+class CryptAuthClientFactory; |
class ExternalDeviceInfo; |
class FindEligibleUnlockDevicesResponse; |
class SendDeviceSyncTickleResponse; |
@@ -21,9 +23,6 @@ class SendDeviceSyncTickleResponse; |
namespace proximity_auth { |
-class CryptAuthClient; |
-class CryptAuthClientFactory; |
- |
// Run this flow to find the user's phones that actively respond to a CryptAuth |
// ping. We are confident that phones responding to the ping are currently |
// online and immediately reachable. |
@@ -32,7 +31,8 @@ class ReachablePhoneFlow { |
// Creates the ReachablePhoneFlow instance: |
// |client_factory|: Factory for creating CryptAuthClient instances. Not owned |
// and must outlive |this| instance. |
- explicit ReachablePhoneFlow(CryptAuthClientFactory* client_factory); |
+ explicit ReachablePhoneFlow( |
+ cryptauth::CryptAuthClientFactory* client_factory); |
~ReachablePhoneFlow(); |
@@ -62,13 +62,13 @@ class ReachablePhoneFlow { |
// Factory for creating CryptAuthClient instances. Not owned and must outlive |
// |this| instance. |
- CryptAuthClientFactory* client_factory_; |
+ cryptauth::CryptAuthClientFactory* client_factory_; |
// Callback invoked when the flow completes. |
ReachablePhonesCallback callback_; |
// The client making the current CryptAuth API call. |
- std::unique_ptr<CryptAuthClient> client_; |
+ std::unique_ptr<cryptauth::CryptAuthClient> client_; |
base::WeakPtrFactory<ReachablePhoneFlow> weak_ptr_factory_; |