Index: chrome/browser/chromeos/ownership/owner_settings_service_factory.h |
diff --git a/chrome/browser/chromeos/ownership/owner_settings_service_factory.h b/chrome/browser/chromeos/ownership/owner_settings_service_factory.h |
deleted file mode 100644 |
index 597656b76ad20a744f81ca46c8f0068c224bb3c0..0000000000000000000000000000000000000000 |
--- a/chrome/browser/chromeos/ownership/owner_settings_service_factory.h |
+++ /dev/null |
@@ -1,60 +0,0 @@ |
-// 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_OWNERSHIP_OWNER_SETTINGS_SERVICE_FACTORY_H_ |
-#define CHROME_BROWSER_CHROMEOS_OWNERSHIP_OWNER_SETTINGS_SERVICE_FACTORY_H_ |
- |
-#include <string> |
- |
-#include "base/compiler_specific.h" |
-#include "base/macros.h" |
-#include "base/memory/ref_counted.h" |
-#include "base/memory/singleton.h" |
-#include "components/keyed_service/content/browser_context_keyed_service_factory.h" |
- |
-class KeyedService; |
-class Profile; |
- |
-namespace ownership { |
-class OwnerKeyUtil; |
-} |
- |
-namespace chromeos { |
- |
-class OwnerSettingsService; |
- |
-class OwnerSettingsServiceFactory : public BrowserContextKeyedServiceFactory { |
- public: |
- static OwnerSettingsService* GetForProfile(Profile* profile); |
- |
- static OwnerSettingsServiceFactory* GetInstance(); |
- |
- scoped_refptr<ownership::OwnerKeyUtil> GetOwnerKeyUtil(); |
- |
- void SetOwnerKeyUtilForTesting( |
- const scoped_refptr<ownership::OwnerKeyUtil>& owner_key_util); |
- |
- private: |
- friend struct DefaultSingletonTraits<OwnerSettingsServiceFactory>; |
- |
- OwnerSettingsServiceFactory(); |
- virtual ~OwnerSettingsServiceFactory(); |
- |
- static KeyedService* BuildInstanceFor(content::BrowserContext* context); |
- |
- // BrowserContextKeyedBaseFactory overrides: |
- virtual bool ServiceIsCreatedWithBrowserContext() const OVERRIDE; |
- |
- // BrowserContextKeyedServiceFactory implementation: |
- virtual KeyedService* BuildServiceInstanceFor( |
- content::BrowserContext* browser_context) const OVERRIDE; |
- |
- scoped_refptr<ownership::OwnerKeyUtil> owner_key_util_; |
- |
- DISALLOW_COPY_AND_ASSIGN(OwnerSettingsServiceFactory); |
-}; |
- |
-} // namespace chromeos |
- |
-#endif // CHROME_BROWSER_CHROMEOS_OWNERSHIP_OWNER_SETTINGS_SERVICE_FACTORY_H_ |