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

Unified Diff: chrome/browser/supervised_user/supervised_user_service_factory.h

Issue 2847803008: ProfileSyncService: Handle null SupervisedUserService (Closed)
Patch Set: Merge remote-tracking branch 'refs/remotes/origin/master' into dep Created 3 years, 7 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 | « no previous file | chrome/browser/supervised_user/supervised_user_service_factory.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/supervised_user/supervised_user_service_factory.h
diff --git a/chrome/browser/supervised_user/supervised_user_service_factory.h b/chrome/browser/supervised_user/supervised_user_service_factory.h
index 51067006332339c314d2b221e0e40eaf38ee1fb2..f850c2c9067e0922b26ec7e82a0e5a8c46850286 100644
--- a/chrome/browser/supervised_user/supervised_user_service_factory.h
+++ b/chrome/browser/supervised_user/supervised_user_service_factory.h
@@ -16,6 +16,8 @@ class SupervisedUserServiceFactory : public BrowserContextKeyedServiceFactory {
public:
static SupervisedUserService* GetForProfile(Profile* profile);
+ static SupervisedUserService* GetForProfileIfExists(Profile* profile);
+
static SupervisedUserServiceFactory* GetInstance();
// Used to create instances for testing.
« no previous file with comments | « no previous file | chrome/browser/supervised_user/supervised_user_service_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698