summaryrefslogtreecommitdiffstats
path: root/chrome/browser/extensions/extension_prefs_factory.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/extensions/extension_prefs_factory.h')
-rw-r--r--chrome/browser/extensions/extension_prefs_factory.h39
1 files changed, 0 insertions, 39 deletions
diff --git a/chrome/browser/extensions/extension_prefs_factory.h b/chrome/browser/extensions/extension_prefs_factory.h
deleted file mode 100644
index d9edba5..0000000
--- a/chrome/browser/extensions/extension_prefs_factory.h
+++ /dev/null
@@ -1,39 +0,0 @@
-// Copyright (c) 2013 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_EXTENSIONS_EXTENSION_PREFS_FACTORY_H_
-#define CHROME_BROWSER_EXTENSIONS_EXTENSION_PREFS_FACTORY_H_
-
-#include "base/memory/scoped_ptr.h"
-#include "base/memory/singleton.h"
-#include "chrome/browser/profiles/profile_keyed_service_factory.h"
-
-namespace extensions {
-
-class ExtensionPrefs;
-
-class ExtensionPrefsFactory : public ProfileKeyedServiceFactory {
- public:
- static ExtensionPrefs* GetForProfile(Profile* profile);
-
- static ExtensionPrefsFactory* GetInstance();
-
- void SetInstanceForTesting(
- content::BrowserContext* context, ExtensionPrefs* prefs);
-
- private:
- friend struct DefaultSingletonTraits<ExtensionPrefsFactory>;
-
- ExtensionPrefsFactory();
- virtual ~ExtensionPrefsFactory();
-
- virtual ProfileKeyedService* BuildServiceInstanceFor(
- content::BrowserContext* profile) const OVERRIDE;
- virtual content::BrowserContext* GetBrowserContextToUse(
- content::BrowserContext* context) const OVERRIDE;
-};
-
-} // namespace extensions
-
-#endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_PREFS_FACTORY_H_