diff options
author | tommi@chromium.org <tommi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-05-05 22:49:26 +0000 |
---|---|---|
committer | tommi@chromium.org <tommi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-05-05 22:49:26 +0000 |
commit | 986aaafb60707cf7f7617cec029234d65ab5f842 (patch) | |
tree | 93d5701ca1e3be159d3276d6265cbff73fee88d9 /sandbox | |
parent | 388dd3a1688b3af37e804966fadfe83e6d46abc9 (diff) | |
download | chromium_src-986aaafb60707cf7f7617cec029234d65ab5f842.zip chromium_src-986aaafb60707cf7f7617cec029234d65ab5f842.tar.gz chromium_src-986aaafb60707cf7f7617cec029234d65ab5f842.tar.bz2 |
Make the other GetProfile() method public.
The way the default profiles, extensions and services are initialized has changed in a way that makes it hard or even impossible to tweak profile preferences before extensions are initialized. For example SafeWeb is initialized as part of referencing the default profile. Upon being initialized, it refers back to the default profile and its preferences (that are currently being constructed), so there's no 'public' way of fetching the default profile, tweak preferences and and _then_ initialize services. However, by allowing calls to GetProfile(path, init_extensions), we can again do two phased profile/extension initialization as we used to.
Note that GetProfile(path) is already public.
TEST=none
BUG=none
Review URL: http://codereview.chromium.org/1986001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46512 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'sandbox')
0 files changed, 0 insertions, 0 deletions