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

Unified Diff: components/proximity_auth/proximity_auth_client.h

Issue 2502343003: Moved //components/proximity_auth/cryptauth to //components/cryptauth. (Closed)
Patch Set: Prefixed two test names with "CryptAuth" so that they do not collide with other test names. 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/proximity_auth_client.h
diff --git a/components/proximity_auth/proximity_auth_client.h b/components/proximity_auth/proximity_auth_client.h
index ae2c340bdae2b7e8403c3d2691140162ccaac4e0..443af0d44dca7d37113ba77b37e3e331c11684eb 100644
--- a/components/proximity_auth/proximity_auth_client.h
+++ b/components/proximity_auth/proximity_auth_client.h
@@ -14,12 +14,14 @@
class PrefService;
-namespace proximity_auth {
-
+namespace cryptauth {
class CryptAuthClientFactory;
class CryptAuthDeviceManager;
class CryptAuthEnrollmentManager;
class SecureMessageDelegate;
+}
+
+namespace proximity_auth {
// An interface that needs to be supplied to the Proximity Auth component by its
// embedder. There should be one |ProximityAuthClient| per
@@ -59,11 +61,11 @@ class ProximityAuthClient {
virtual PrefService* GetPrefService() = 0;
// Returns the SecureMessageDelegate used by the system.
- virtual std::unique_ptr<SecureMessageDelegate>
+ virtual std::unique_ptr<cryptauth::SecureMessageDelegate>
CreateSecureMessageDelegate() = 0;
// Constructs the CryptAuthClientFactory that can be used for API requests.
- virtual std::unique_ptr<CryptAuthClientFactory>
+ virtual std::unique_ptr<cryptauth::CryptAuthClientFactory>
CreateCryptAuthClientFactory() = 0;
// Constructs the DeviceClassifier message that is sent to CryptAuth for all
@@ -73,11 +75,10 @@ class ProximityAuthClient {
// Returns the account id of the user.
virtual std::string GetAccountId() = 0;
- virtual proximity_auth::CryptAuthEnrollmentManager*
+ virtual cryptauth::CryptAuthEnrollmentManager*
GetCryptAuthEnrollmentManager() = 0;
- virtual proximity_auth::CryptAuthDeviceManager*
- GetCryptAuthDeviceManager() = 0;
+ virtual cryptauth::CryptAuthDeviceManager* GetCryptAuthDeviceManager() = 0;
};
} // namespace proximity_auth

Powered by Google App Engine
This is Rietveld 408576698