| Index: chrome/browser/chromeos/login/owner_key_reloader_service_factory.h
|
| diff --git a/chrome/browser/chromeos/login/owner_key_reloader_service_factory.h b/chrome/browser/chromeos/login/owner_key_reloader_service_factory.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..b2d4c12416a27ebb60956306391a78a2b3db32ca
|
| --- /dev/null
|
| +++ b/chrome/browser/chromeos/login/owner_key_reloader_service_factory.h
|
| @@ -0,0 +1,46 @@
|
| +// 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_CHROMEOS_LOGIN_OWNER_KEY_RELOADER_SERVICE_FACTORY_H_
|
| +#define CHROME_BROWSER_CHROMEOS_LOGIN_OWNER_KEY_RELOADER_SERVICE_FACTORY_H_
|
| +
|
| +#include <string>
|
| +
|
| +#include "base/compiler_specific.h"
|
| +#include "base/macros.h"
|
| +#include "base/memory/singleton.h"
|
| +#include "components/keyed_service/content/browser_context_keyed_service_factory.h"
|
| +
|
| +class KeyedService;
|
| +class Profile;
|
| +
|
| +namespace chromeos {
|
| +
|
| +class OwnerKeyReloaderService;
|
| +
|
| +class OwnerKeyReloaderServiceFactory
|
| + : public BrowserContextKeyedServiceFactory {
|
| + public:
|
| + static OwnerKeyReloaderService* GetForProfile(Profile* profile);
|
| +
|
| + static OwnerKeyReloaderServiceFactory* GetInstance();
|
| +
|
| + private:
|
| + friend struct DefaultSingletonTraits<OwnerKeyReloaderServiceFactory>;
|
| +
|
| + OwnerKeyReloaderServiceFactory();
|
| + virtual ~OwnerKeyReloaderServiceFactory();
|
| +
|
| + static KeyedService* BuildInstanceFor(content::BrowserContext* context);
|
| +
|
| + // BrowserContextKeyedServiceFactory implementation:
|
| + virtual KeyedService* BuildServiceInstanceFor(
|
| + content::BrowserContext* context) const OVERRIDE;
|
| +
|
| + DISALLOW_COPY_AND_ASSIGN(OwnerKeyReloaderServiceFactory);
|
| +};
|
| +
|
| +} // namespace chromeos
|
| +
|
| +#endif // CHROME_BROWSER_CHROMEOS_LOGIN_OWNER_KEY_RELOADER_SERVICE_FACTORY_H_
|
|
|