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

Unified Diff: components/cryptauth/cryptauth_service.cc

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.cc
diff --git a/components/cryptauth/cryptauth_service.cc b/components/cryptauth/cryptauth_service.cc
new file mode 100644
index 0000000000000000000000000000000000000000..c2c25d3b923553d756f3e810b1c02131e1ddb428
--- /dev/null
+++ b/components/cryptauth/cryptauth_service.cc
@@ -0,0 +1,18 @@
+// Copyright 2017 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "components/cryptauth/cryptauth_service.h"
+
+namespace cryptauth {
+
+class CryptAuthGCMManager;
+
+// static
+void CryptAuthService::RegisterProfilePrefs(PrefRegistrySimple* registry) {
+ CryptAuthGCMManager::RegisterPrefs(registry);
+ CryptAuthDeviceManager::RegisterPrefs(registry);
+ CryptAuthEnrollmentManager::RegisterPrefs(registry);
+}
+
+} // namespace cryptauth
« chrome/browser/prefs/browser_prefs.cc ('K') | « components/cryptauth/cryptauth_service.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698