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

Unified Diff: chrome/browser/cryptauth/chrome_cryptauth_service_factory.cc

Issue 2819713002: Create TetherService, a TetherAllowed pref, and use DependencyManager for RegisterProfilePrefs call… (Closed)
Patch Set: Create an IsEnabled method on TetherService. 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 | « chrome/browser/cryptauth/chrome_cryptauth_service_factory.h ('k') | chrome/browser/prefs/browser_prefs.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/cryptauth/chrome_cryptauth_service_factory.cc
diff --git a/chrome/browser/cryptauth/chrome_cryptauth_service_factory.cc b/chrome/browser/cryptauth/chrome_cryptauth_service_factory.cc
index b7b1fbe55b730b614a60dd5d837edea80d92da55..441fc15826de7b2198d6026e1ef9d886fd7f4d54 100644
--- a/chrome/browser/cryptauth/chrome_cryptauth_service_factory.cc
+++ b/chrome/browser/cryptauth/chrome_cryptauth_service_factory.cc
@@ -10,6 +10,7 @@
#include "chrome/browser/signin/profile_oauth2_token_service_factory.h"
#include "chrome/browser/signin/signin_manager_factory.h"
#include "components/keyed_service/content/browser_context_dependency_manager.h"
+#include "components/pref_registry/pref_registry_syncable.h"
// static
cryptauth::CryptAuthService*
@@ -40,3 +41,8 @@ KeyedService* ChromeCryptAuthServiceFactory::BuildServiceInstanceFor(
Profile* profile = Profile::FromBrowserContext(context);
return ChromeCryptAuthService::Create(profile).release();
}
+
+void ChromeCryptAuthServiceFactory::RegisterProfilePrefs(
+ user_prefs::PrefRegistrySyncable* registry) {
+ cryptauth::CryptAuthService::RegisterProfilePrefs(registry);
+}
« no previous file with comments | « chrome/browser/cryptauth/chrome_cryptauth_service_factory.h ('k') | chrome/browser/prefs/browser_prefs.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698