diff options
author | nsylvain@chromium.org <nsylvain@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-10-07 02:21:13 +0000 |
---|---|---|
committer | nsylvain@chromium.org <nsylvain@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-10-07 02:21:13 +0000 |
commit | 0dba4b3915491e818b604f648459e1838e4ce1c3 (patch) | |
tree | b24cce077e9979cd216a50f4cc9874079a03bd68 /third_party | |
parent | eff97c3eae0cfb5dd749e65573114cc61261c279 (diff) | |
download | chromium_src-0dba4b3915491e818b604f648459e1838e4ce1c3.zip chromium_src-0dba4b3915491e818b604f648459e1838e4ce1c3.tar.gz chromium_src-0dba4b3915491e818b604f648459e1838e4ce1c3.tar.bz2 |
Revert 104412 - profile: Add a way for each ProfileKeyedServiceFactory to specify its user prefernces.
I believe this broke chromeos with:
/usr/bin/ld: out/Release/obj.target/unit_tests/chrome/browser/chromeos/gview_request_interceptor_unittest.o: in function chromeos::(anonymous namespace)::GViewRequestInterceptorTest::SetUp():gview_request_interceptor_unittest.cc(.text._ZN8chromeos12_GLOBAL__N_127GViewRequestInterceptorTest5SetUpEv+0xd8): error: undefined reference to 'PluginPrefs::RegisterPrefs(PrefService*)'
To allow us to compile individual features in/out of a chrome build, we need to
attack browser_prefs.cc, which is a giant static registration. This used to be
done through another big code path starting in ProfileImpl which call
browser::RegisterUserPrefs() which linked to other static methods. Now this is
done through overridding ProfileKeyedServiceFactory::RegisterUserPrefs(), and
there are no additional dependencies.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/7901027
TBR=erg@chromium.org
Review URL: http://codereview.chromium.org/8196005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@104429 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'third_party')
0 files changed, 0 insertions, 0 deletions