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

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

Powered by Google App Engine
This is Rietveld 408576698