diff options
author | phajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-04 11:11:34 +0000 |
---|---|---|
committer | phajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-04 11:11:34 +0000 |
commit | 24e7a9d2b4d7925ca25d2cdf75808d3ff88b5f6e (patch) | |
tree | 809ce617d8e41b1ba284eba33694af966654fb87 /chrome/browser/extensions/extension_disabled_infobar_delegate.cc | |
parent | a6cf2a3e9f1d7b44dda39975139f5ae39524e363 (diff) | |
download | chromium_src-24e7a9d2b4d7925ca25d2cdf75808d3ff88b5f6e.zip chromium_src-24e7a9d2b4d7925ca25d2cdf75808d3ff88b5f6e.tar.gz chromium_src-24e7a9d2b4d7925ca25d2cdf75808d3ff88b5f6e.tar.bz2 |
Implement loading blacklists from extensions.
It doesn't yet work in full-browser scenario, but allows me
to write a simple test.
TEST=Covered by browser_tests.
BUG=21541
Review URL: http://codereview.chromium.org/341050
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30952 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/extensions/extension_disabled_infobar_delegate.cc')
-rw-r--r-- | chrome/browser/extensions/extension_disabled_infobar_delegate.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/extensions/extension_disabled_infobar_delegate.cc b/chrome/browser/extensions/extension_disabled_infobar_delegate.cc index ea8de22..0d0d7b4 100644 --- a/chrome/browser/extensions/extension_disabled_infobar_delegate.cc +++ b/chrome/browser/extensions/extension_disabled_infobar_delegate.cc @@ -88,9 +88,9 @@ class ExtensionDisabledInfobarDelegate extension_(extension) { // The user might re-enable the extension in other ways, so watch for that. registrar_.Add(this, NotificationType::EXTENSION_LOADED, - Source<ExtensionsService>(service)); + Source<Profile>(service->profile())); registrar_.Add(this, NotificationType::EXTENSION_UNLOADED_DISABLED, - Source<ExtensionsService>(service)); + Source<Profile>(service->profile())); } virtual ~ExtensionDisabledInfobarDelegate() { } |