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

Unified Diff: components/cryptauth/cryptauth_service.h

Issue 2805833002: Migrate Cryptauth*Managers RegisterPrefs to CryptAuthService::RegisterProfilePrefs. (Closed)
Patch Set: Created 3 years, 8 months 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/cryptauth/cryptauth_service.h
diff --git a/components/cryptauth/cryptauth_service.h b/components/cryptauth/cryptauth_service.h
index 044d166af8d42f584bb099c315dddaa288277bf9..ebfc41549db65314e6a529f225e629035e2a55b8 100644
--- a/components/cryptauth/cryptauth_service.h
+++ b/components/cryptauth/cryptauth_service.h
@@ -9,6 +9,7 @@
#include "base/macros.h"
#include "components/cryptauth/proto/cryptauth_api.pb.h"
+#include "components/prefs/pref_registry_simple.h"
namespace cryptauth {
@@ -20,6 +21,8 @@ class SecureMessageDelegate;
// Service which provides access to various CryptAuth singletons.
class CryptAuthService {
public:
+ static void RegisterProfilePrefs(PrefRegistrySimple* registry);
+
virtual CryptAuthDeviceManager* GetCryptAuthDeviceManager() = 0;
virtual CryptAuthEnrollmentManager* GetCryptAuthEnrollmentManager() = 0;
virtual DeviceClassifier GetDeviceClassifier() = 0;

Powered by Google App Engine
This is Rietveld 408576698