summaryrefslogtreecommitdiffstats
path: root/components/keyed_service
diff options
context:
space:
mode:
authortfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-05-15 17:37:26 +0000
committertfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-05-15 17:37:26 +0000
commitf0c8c4993d1828df35581db849c2d4563fc12479 (patch)
treec40d0e7358871a596f21c9f89c480ef0834ea5fd /components/keyed_service
parente6fc1e2494a088bc9115104da81d9fbdbec2fc56 (diff)
downloadchromium_src-f0c8c4993d1828df35581db849c2d4563fc12479.zip
chromium_src-f0c8c4993d1828df35581db849c2d4563fc12479.tar.gz
chromium_src-f0c8c4993d1828df35581db849c2d4563fc12479.tar.bz2
components: Extract pref_registry component out of user_prefs.
The reason for doing this is that user_prefs depends on content_browser, which brings a lot of extra dependencies that takes a lot of time to build (yeah, I'm looking at you Blink and V8) and bookmarks is one of the targets that should not depend on content. BUG=359565 TEST=green trybots R=blundell@chromium.org, sky@chromium.org, yoz@chromium.org Review URL: https://codereview.chromium.org/271793003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@270722 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'components/keyed_service')
-rw-r--r--components/keyed_service/content/DEPS1
-rw-r--r--components/keyed_service/content/browser_context_keyed_base_factory.cc2
2 files changed, 2 insertions, 1 deletions
diff --git a/components/keyed_service/content/DEPS b/components/keyed_service/content/DEPS
index 0c342f6..0e3557d 100644
--- a/components/keyed_service/content/DEPS
+++ b/components/keyed_service/content/DEPS
@@ -1,4 +1,5 @@
include_rules = [
+ "+components/pref_registry",
"+components/user_prefs",
"+content/public/browser",
"+content/public/common",
diff --git a/components/keyed_service/content/browser_context_keyed_base_factory.cc b/components/keyed_service/content/browser_context_keyed_base_factory.cc
index 9a543cd..622f1c8 100644
--- a/components/keyed_service/content/browser_context_keyed_base_factory.cc
+++ b/components/keyed_service/content/browser_context_keyed_base_factory.cc
@@ -6,7 +6,7 @@
#include "base/prefs/pref_service.h"
#include "components/keyed_service/content/browser_context_dependency_manager.h"
-#include "components/user_prefs/pref_registry_syncable.h"
+#include "components/pref_registry/pref_registry_syncable.h"
#include "components/user_prefs/user_prefs.h"
#include "content/public/browser/browser_context.h"