Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(29)

Unified Diff: chrome/browser/extensions/extension_prefs_factory.h

Issue 46853004: Move ExtensionPrefs and friends to extensions/ directory. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sync and update app_shell Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/extensions/extension_prefs.cc ('k') | chrome/browser/extensions/extension_prefs_factory.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/extension_prefs_factory.h
diff --git a/chrome/browser/extensions/extension_prefs_factory.h b/chrome/browser/extensions/extension_prefs_factory.h
deleted file mode 100644
index 911f949a65555a6c646ab04b318ee1b0cb849732..0000000000000000000000000000000000000000
--- 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 "components/browser_context_keyed_service/browser_context_keyed_service_factory.h"
-
-namespace extensions {
-
-class ExtensionPrefs;
-
-class ExtensionPrefsFactory : public BrowserContextKeyedServiceFactory {
- public:
- static ExtensionPrefs* GetForBrowserContext(content::BrowserContext* context);
-
- static ExtensionPrefsFactory* GetInstance();
-
- void SetInstanceForTesting(
- content::BrowserContext* context, ExtensionPrefs* prefs);
-
- private:
- friend struct DefaultSingletonTraits<ExtensionPrefsFactory>;
-
- ExtensionPrefsFactory();
- virtual ~ExtensionPrefsFactory();
-
- virtual BrowserContextKeyedService* BuildServiceInstanceFor(
- content::BrowserContext* context) const OVERRIDE;
- virtual content::BrowserContext* GetBrowserContextToUse(
- content::BrowserContext* context) const OVERRIDE;
-};
-
-} // namespace extensions
-
-#endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_PREFS_FACTORY_H_
« no previous file with comments | « chrome/browser/extensions/extension_prefs.cc ('k') | chrome/browser/extensions/extension_prefs_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698