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

Unified Diff: components/cryptauth/cryptauth_service.h

Issue 2805833002: Migrate Cryptauth*Managers RegisterPrefs to CryptAuthService::RegisterProfilePrefs. (Closed)
Patch Set: Replace initializer_unittest RegisterPrefs calls with Initializer::RegisterProfilePrefs. 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
« no previous file with comments | « components/cryptauth/BUILD.gn ('k') | components/cryptauth/cryptauth_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « components/cryptauth/BUILD.gn ('k') | components/cryptauth/cryptauth_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698