| Index: chrome/browser/supervised_user/child_accounts/child_account_service_factory.h
|
| diff --git a/chrome/browser/supervised_user/child_accounts/child_account_service_factory.h b/chrome/browser/supervised_user/child_accounts/child_account_service_factory.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..543c0c4057d3c85eeddbbf3d6a919fdd4814bce9
|
| --- /dev/null
|
| +++ b/chrome/browser/supervised_user/child_accounts/child_account_service_factory.h
|
| @@ -0,0 +1,34 @@
|
| +// Copyright 2014 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#ifndef CHROME_BROWSER_SUPERVISED_USER_CHILD_ACCOUNTS_CHILD_ACCOUNT_SERVICE_FACTORY_H_
|
| +#define CHROME_BROWSER_SUPERVISED_USER_CHILD_ACCOUNTS_CHILD_ACCOUNT_SERVICE_FACTORY_H_
|
| +
|
| +#include "base/macros.h"
|
| +#include "base/memory/singleton.h"
|
| +#include "components/keyed_service/content/browser_context_keyed_service_factory.h"
|
| +
|
| +class ChildAccountService;
|
| +class Profile;
|
| +
|
| +class ChildAccountServiceFactory : public BrowserContextKeyedServiceFactory {
|
| + public:
|
| + static ChildAccountService* GetForProfile(Profile* profile);
|
| +
|
| + static ChildAccountServiceFactory* GetInstance();
|
| +
|
| + private:
|
| + friend struct DefaultSingletonTraits<ChildAccountServiceFactory>;
|
| +
|
| + ChildAccountServiceFactory();
|
| + virtual ~ChildAccountServiceFactory();
|
| +
|
| + // BrowserContextKeyedServiceFactory:
|
| + virtual KeyedService* BuildServiceInstanceFor(
|
| + content::BrowserContext* profile) const override;
|
| +
|
| + DISALLOW_COPY_AND_ASSIGN(ChildAccountServiceFactory);
|
| +};
|
| +
|
| +#endif // CHROME_BROWSER_SUPERVISED_USER_CHILD_ACCOUNTS_CHILD_ACCOUNT_SERVICE_FACTORY_H_
|
|
|