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

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

Issue 2776493005: Convert SupervisedUserResourceThrottle to a NavigationThrottle. (Closed)
Patch Set: Fix Android Created 3 years, 9 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: 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..5ec7ff28910f6788c89fc293fd0db4f6650e2830 100644
--- a/chrome/browser/supervised_user/supervised_user_service_factory.h
+++ b/chrome/browser/supervised_user/supervised_user_service_factory.h
@@ -9,12 +9,17 @@
#include "chrome/browser/supervised_user/supervised_users.h"
#include "components/keyed_service/content/browser_context_keyed_service_factory.h"
+namespace content {
+class BrowserContext;
+}
+
class Profile;
class SupervisedUserService;
class SupervisedUserServiceFactory : public BrowserContextKeyedServiceFactory {
public:
- static SupervisedUserService* GetForProfile(Profile* profile);
+ static SupervisedUserService* GetForProfile(
+ content::BrowserContext* browser_context);
Marc Treib 2017/03/28 10:22:58 Is this change actually required? If so, the metho
mmenke 2017/03/28 17:55:05 It's not really needed, I just was horrified by:
static SupervisedUserServiceFactory* GetInstance();

Powered by Google App Engine
This is Rietveld 408576698