diff options
author | joi@chromium.org <joi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-03-06 00:42:44 +0000 |
---|---|---|
committer | joi@chromium.org <joi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-03-06 00:42:44 +0000 |
commit | 75fee3776f2e159d8e52bb13bb4545ac46021512 (patch) | |
tree | 7740edac61c7925bd342065bc31d6127e42a7b89 /chrome/browser/custom_handlers/protocol_handler_registry.cc | |
parent | d959538b0a69164776b6410bc2c87f46a2c80e89 (diff) | |
download | chromium_src-75fee3776f2e159d8e52bb13bb4545ac46021512.zip chromium_src-75fee3776f2e159d8e52bb13bb4545ac46021512.tar.gz chromium_src-75fee3776f2e159d8e52bb13bb4545ac46021512.tar.bz2 |
Introduce //components/user_prefs.
The user_prefs component provides:
a) The UserPrefs class, used to map PrefService objects to BrowserContext. This addresses a TODO to get rid of PrefServiceFromBrowserContext from base/prefs/pref_service.h, where clearly a mention of a content class did not belong.
b) A place for PrefRegistrySyncable to live, where it can be used by components that need to register prefs.
We also use (b) in this change to eliminate Autofill's dependency on chrome/browser/prefs. Work is ongoing to move Autofill to //components/autofill.
TBR=ben@chromium.org
BUG=155525,140037
Review URL: https://chromiumcodereview.appspot.com/12340111
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@186301 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/custom_handlers/protocol_handler_registry.cc')
-rw-r--r-- | chrome/browser/custom_handlers/protocol_handler_registry.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/custom_handlers/protocol_handler_registry.cc b/chrome/browser/custom_handlers/protocol_handler_registry.cc index 3be1184..0a1913d 100644 --- a/chrome/browser/custom_handlers/protocol_handler_registry.cc +++ b/chrome/browser/custom_handlers/protocol_handler_registry.cc @@ -12,12 +12,12 @@ #include "base/prefs/pref_service.h" #include "chrome/browser/custom_handlers/register_protocol_handler_infobar_delegate.h" #include "chrome/browser/net/chrome_url_request_context.h" -#include "chrome/browser/prefs/pref_registry_syncable.h" #include "chrome/browser/profiles/profile_io_data.h" #include "chrome/common/chrome_notification_types.h" #include "chrome/common/chrome_switches.h" #include "chrome/common/custom_handlers/protocol_handler.h" #include "chrome/common/pref_names.h" +#include "components/user_prefs/pref_registry_syncable.h" #include "content/public/browser/child_process_security_policy.h" #include "grit/generated_resources.h" #include "net/base/network_delegate.h" |