| Index: chrome/browser/supervised_user/supervised_user_service_factory.h
|
| diff --git a/chrome/browser/managed_mode/managed_user_service_factory.h b/chrome/browser/supervised_user/supervised_user_service_factory.h
|
| similarity index 51%
|
| rename from chrome/browser/managed_mode/managed_user_service_factory.h
|
| rename to chrome/browser/supervised_user/supervised_user_service_factory.h
|
| index 059439ccc50a468ee10c38a560ca717a7479376c..61b8c0f32d9dee34bb0c8270768a43a9e6a54d37 100644
|
| --- a/chrome/browser/managed_mode/managed_user_service_factory.h
|
| +++ b/chrome/browser/supervised_user/supervised_user_service_factory.h
|
| @@ -2,30 +2,30 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#ifndef CHROME_BROWSER_MANAGED_MODE_MANAGED_USER_SERVICE_FACTORY_H_
|
| -#define CHROME_BROWSER_MANAGED_MODE_MANAGED_USER_SERVICE_FACTORY_H_
|
| +#ifndef CHROME_BROWSER_SUPERVISED_USER_SUPERVISED_USER_SERVICE_FACTORY_H_
|
| +#define CHROME_BROWSER_SUPERVISED_USER_SUPERVISED_USER_SERVICE_FACTORY_H_
|
|
|
| #include "base/memory/singleton.h"
|
| -#include "chrome/browser/managed_mode/managed_users.h"
|
| +#include "chrome/browser/supervised_user/supervised_users.h"
|
| #include "components/keyed_service/content/browser_context_keyed_service_factory.h"
|
|
|
| -class ManagedUserService;
|
| class Profile;
|
| +class SupervisedUserService;
|
|
|
| -class ManagedUserServiceFactory : public BrowserContextKeyedServiceFactory {
|
| +class SupervisedUserServiceFactory : public BrowserContextKeyedServiceFactory {
|
| public:
|
| - static ManagedUserService* GetForProfile(Profile* profile);
|
| + static SupervisedUserService* GetForProfile(Profile* profile);
|
|
|
| - static ManagedUserServiceFactory* GetInstance();
|
| + static SupervisedUserServiceFactory* GetInstance();
|
|
|
| // Used to create instances for testing.
|
| static KeyedService* BuildInstanceFor(Profile* profile);
|
|
|
| private:
|
| - friend struct DefaultSingletonTraits<ManagedUserServiceFactory>;
|
| + friend struct DefaultSingletonTraits<SupervisedUserServiceFactory>;
|
|
|
| - ManagedUserServiceFactory();
|
| - virtual ~ManagedUserServiceFactory();
|
| + SupervisedUserServiceFactory();
|
| + virtual ~SupervisedUserServiceFactory();
|
|
|
| // BrowserContextKeyedServiceFactory:
|
| virtual content::BrowserContext* GetBrowserContextToUse(
|
| @@ -34,4 +34,4 @@ class ManagedUserServiceFactory : public BrowserContextKeyedServiceFactory {
|
| content::BrowserContext* profile) const OVERRIDE;
|
| };
|
|
|
| -#endif // CHROME_BROWSER_MANAGED_MODE_MANAGED_USER_SERVICE_FACTORY_H_
|
| +#endif // CHROME_BROWSER_SUPERVISED_USER_SUPERVISED_USER_SERVICE_FACTORY_H_
|
|
|