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

Unified Diff: chromeos/components/tether/initializer.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: chromeos/components/tether/initializer.cc
diff --git a/chromeos/components/tether/initializer.cc b/chromeos/components/tether/initializer.cc
index cc2d49cfac0046987bd682fc914417da6e87027a..4039a16f3d7fb67e1c0226a8f75b007712b149b3 100644
--- a/chromeos/components/tether/initializer.cc
+++ b/chromeos/components/tether/initializer.cc
@@ -4,6 +4,9 @@
#include "chromeos/components/tether/initializer.h"
+#include "chromeos/components/tether/active_host.h"
+#include "chromeos/components/tether/host_scan_device_prioritizer.h"
+
namespace chromeos {
namespace tether {
@@ -20,6 +23,12 @@ void Initializer::Initialize(cryptauth::CryptAuthService* cryptauth_service) {
}
}
+// static
+void Initializer::RegisterProfilePrefs(PrefRegistrySimple* registry) {
+ ActiveHost::RegisterPrefs(registry);
+ HostScanDevicePrioritizer::RegisterPrefs(registry);
+}
+
Initializer::Initializer(cryptauth::CryptAuthService* cryptauth_service)
: cryptauth_service_(cryptauth_service) {}

Powered by Google App Engine
This is Rietveld 408576698