diff options
author | mirandac@chromium.org <mirandac@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-11-30 18:47:13 +0000 |
---|---|---|
committer | mirandac@chromium.org <mirandac@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-11-30 18:47:13 +0000 |
commit | 06bdd2b628b4b76a3bd6fc8dff5b219f0950663c (patch) | |
tree | cf03da9ff8e16ff75d6a91439e4fe00499e11cf0 /chrome/browser/extensions/permissions_updater.cc | |
parent | e45a014f99224d1cc7a0e501c39693c6981c0355 (diff) | |
download | chromium_src-06bdd2b628b4b76a3bd6fc8dff5b219f0950663c.zip chromium_src-06bdd2b628b4b76a3bd6fc8dff5b219f0950663c.tar.gz chromium_src-06bdd2b628b4b76a3bd6fc8dff5b219f0950663c.tar.bz2 |
Remove GetExtensionService calls and replace with PKSF calls through the ExtensionSystem. Extension services were made into ProfileKeyedServices a while ago; this replaces the deprecated calls that ran directly through the Profile object.
This is about half of the total GetExtensionService calls in the codebase, but this CL is already ridiculously large.
BUG= http://code.google.com/p/chromium/issues/detail?id=104095
Review URL: https://chromiumcodereview.appspot.com/11365181
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@170497 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/extensions/permissions_updater.cc')
-rw-r--r-- | chrome/browser/extensions/permissions_updater.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/browser/extensions/permissions_updater.cc b/chrome/browser/extensions/permissions_updater.cc index 2c6717a..57c5085 100644 --- a/chrome/browser/extensions/permissions_updater.cc +++ b/chrome/browser/extensions/permissions_updater.cc @@ -226,7 +226,8 @@ void PermissionsUpdater::NotifyPermissionsUpdated( } ExtensionPrefs* PermissionsUpdater::GetExtensionPrefs() { - return profile_->GetExtensionService()->extension_prefs(); + return extensions::ExtensionSystem::Get(profile_)->extension_service()-> + extension_prefs(); } } // namespace extensions |