summaryrefslogtreecommitdiffstats
path: root/components/keyed_service
diff options
context:
space:
mode:
authorisherman <isherman@chromium.org>2015-06-04 12:09:34 -0700
committerCommit bot <commit-bot@chromium.org>2015-06-04 19:09:59 +0000
commita3396c3f8ff149ffefc81c0d9de803a3fe851370 (patch)
tree78848b08b5c61378a78362c3c086dec9619ec245 /components/keyed_service
parent710d36e12b432d441a237278778f6655e3ef4e1f (diff)
downloadchromium_src-a3396c3f8ff149ffefc81c0d9de803a3fe851370.zip
chromium_src-a3396c3f8ff149ffefc81c0d9de803a3fe851370.tar.gz
chromium_src-a3396c3f8ff149ffefc81c0d9de803a3fe851370.tar.bz2
[Cleanup] Remove a bit of dead code.
BUG=none TEST=none R=erg@chromium.org Review URL: https://codereview.chromium.org/1159253003 Cr-Commit-Position: refs/heads/master@{#332868}
Diffstat (limited to 'components/keyed_service')
-rw-r--r--components/keyed_service/content/refcounted_browser_context_keyed_service_factory.cc5
-rw-r--r--components/keyed_service/content/refcounted_browser_context_keyed_service_factory.h10
2 files changed, 0 insertions, 15 deletions
diff --git a/components/keyed_service/content/refcounted_browser_context_keyed_service_factory.cc b/components/keyed_service/content/refcounted_browser_context_keyed_service_factory.cc
index 7a7a6f0..03c9915 100644
--- a/components/keyed_service/content/refcounted_browser_context_keyed_service_factory.cc
+++ b/components/keyed_service/content/refcounted_browser_context_keyed_service_factory.cc
@@ -62,11 +62,6 @@ RefcountedBrowserContextKeyedServiceFactory::GetBrowserContextToUse(
return context;
}
-void RefcountedBrowserContextKeyedServiceFactory::
- RegisterUserPrefsOnBrowserContextForTest(content::BrowserContext* context) {
- KeyedServiceBaseFactory::RegisterUserPrefsOnContextForTest(context);
-}
-
bool RefcountedBrowserContextKeyedServiceFactory::
ServiceIsCreatedWithBrowserContext() const {
return KeyedServiceBaseFactory::ServiceIsCreatedWithContext();
diff --git a/components/keyed_service/content/refcounted_browser_context_keyed_service_factory.h b/components/keyed_service/content/refcounted_browser_context_keyed_service_factory.h
index 01fedff..f8350fd 100644
--- a/components/keyed_service/content/refcounted_browser_context_keyed_service_factory.h
+++ b/components/keyed_service/content/refcounted_browser_context_keyed_service_factory.h
@@ -30,16 +30,6 @@ class BrowserContext;
class KEYED_SERVICE_EXPORT RefcountedBrowserContextKeyedServiceFactory
: public RefcountedKeyedServiceFactory {
public:
- // Registers preferences used in this service on the pref service of
- // |context|. This is the public interface and is safe to be called multiple
- // times because testing code can have multiple services of the same type
- // attached to a single |context|. Only test code is allowed to call this
- // method.
- // TODO(gab): This method can be removed entirely when
- // PrefService::DeprecatedGetPrefRegistry() is phased out.
- void RegisterUserPrefsOnBrowserContextForTest(
- content::BrowserContext* context);
-
// A function that supplies the instance of a KeyedService for a given
// BrowserContext. This is used primarily for testing, where we want to feed
// a specific mock into the BCKSF system.